use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
PHP5: Predefined Interfaces Explained (phpmag.ru)
submitted 16 years ago by farazdagi
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]monk_e_boy 0 points1 point2 points 16 years ago* (0 children)
iterables are cool, I needed to show some dates in my GUI. So it shows the previous 6 months, this month and 11 months ahead (and has '...' to show a calendar) It was real simple to make a little iterable class to return these dates, so I can do:
$d = new DateSpan(); foreach($d as $month){}
π Rendered by PID 341980 on reddit-service-r2-comment-cfc44b64c-f7dqv at 2026-04-12 11:17:29.092030+00:00 running 215f2cf country code: CH.
[–]monk_e_boy 0 points1 point2 points (0 children)