Call them obscure, call them pointless, call them "newb mistakes." Whatever you call them, you've more than likely been tripped up at some point in your PHP coding journey by seemingly odd or illogical behaviors of the language.
I wish I would have seen this 2 weeks ago. I encountered the first one [strpos($x, $y) = 0] Took me an hour to figure out what was going on.
There's more in the comments too.
Comments
kenman replied ago:
This is definitely something that I need to read every 3 months, at least. Most of these are not obvious (at least to me).
jakyra replied ago:
I wish I would have seen this 2 weeks ago. I encountered the first one [strpos($x, $y) = 0] Took me an hour to figure out what was going on.
There's more in the comments too.
Voters For This Link (3)
Voters Against This Link (0)