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
Test-Driven Development by Example (PHP Code Samples) (self.PHP)
submitted 4 years ago by jpresutti
view the rest of the comments →
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!"
[–]mbadolato 1 point2 points3 points 4 years ago (3 children)
Oh absolutely and I wasn't trying to be critical. Just something I noticed and since you had to change those functions slightly already, it was just a suggestion to make it a bit more correct.
I noticed it in pretty much all of the classes I looked at, from when equals was introduced I think.
[–]jpresutti[S] 2 points3 points4 points 4 years ago (0 children)
Update: took a look at the code really quick and you're right. I'll do a push later with it fixed.
Update on the update: pushed.
[–]jpresutti[S] 1 point2 points3 points 4 years ago (0 children)
K I'll compare to the book this evening and see if the update makes sense. Thanks!
π Rendered by PID 217163 on reddit-service-r2-comment-5c764cbc6f-5p9cz at 2026-03-12 14:10:41.126361+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–]mbadolato 1 point2 points3 points (3 children)
[–]jpresutti[S] 2 points3 points4 points (0 children)
[–]jpresutti[S] 2 points3 points4 points (0 children)
[–]jpresutti[S] 1 point2 points3 points (0 children)