And despite the extra lanes, it’s still gridlocked. Maybe they need just one more lane…
- 2 Posts
- 9 Comments
thatwill@lemmy.worldto
Programmer Humor@lemmy.ml•and people wonder why we say PHP is a meme
2·3 years agoI just tested these out out of curiosity.
0==“text” returns false in PHP 8.2 as I’d expect.The others make sense in the way that php juggles between types. An empty variable can type-juggle to null, but an array can’t be directly compared with a string.
(Although you wouldn’t really want to compare an array with a string, PHP just treats an array as greater than other variables. So weirdly, ([] > “”) == true.)
thatwill@lemmy.worldto
Programmer Humor@lemmy.ml•and people wonder why we say PHP is a meme
141·3 years agoIf you’re trying to directly compare different variable types in any language without strong typing, you’re going to have edge-case results which you might not expect.
My “coding like a moron” message still stands. PHP isn’t a strongly typed language and it doesn’t tell you off for trying stupid stuff like comparing a string with an int. Nor do other languages like JavaScript.
thatwill@lemmy.worldto
Programmer Humor@lemmy.ml•and people wonder why we say PHP is a meme
553·3 years ago“php doesn’t stop me from coding like a moron, therefore php sucks”
thatwill@lemmy.worldto
Programmer Humor@lemmy.ml•Some things never change, but at least there is progress!
10·3 years agoThe trick is to only use DDG and nothing else. I haven’t used Google for years so I have no idea how crap the DDG results are in comparison…
thatwill@lemmy.worldto
Programmer Humor@lemmy.ml•Some things never change, but at least there is progress!
2·3 years agoFlexbox is god
thatwill@lemmy.worldto
Music@lemmy.world•NEW!! Queens of the Stone Age - Paper MacheteEnglish
0·3 years agoLove the guitar solo on this one. Just noticed the new album is out today!
The widespread use of Discord baffles me. It seems to be basically IRC with voice chat and no choice in servers. It’s good for group voice chat with people you already know, but I can’t see how it fits any other use case like being a replacement for a subreddit community.




He’s carting these huge fucking antlers around on a national tour just for the lamest of lame puns. He must have workshopped this “gag” and miraculously not died on his arse, for him to decide it’s worth hauling the antlers around. Baffling.