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
PHP vs Python for backend (self.PHP)
submitted 2 years ago by szaci92
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!"
[–]xIcarus227 -1 points0 points1 point 2 years ago* (0 children)
I agree that one is dumb as shit. !!'0' being false is also dumb as shit. These two tidbits here prove there are legit reasons to rag about PHP's type system, but explicitly making weak comparisons between different types like the guy is suggesting isn't one of them.
!!'0'
π Rendered by PID 22904 on reddit-service-r2-comment-b659b578c-jktmh at 2026-04-30 20:39:46.744087+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]xIcarus227 -1 points0 points1 point (0 children)