Link Details

Link 78457 thumbnail
User 283967 avatar

By rubayeet
via devzone.zend.com
Submitted: Apr 30 2008 / 00:56

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.
  • 3
  • 0
  • 242
  • 37

Comments

Add your comment
User 204084 avatar

kenman replied ago:

0 votes Vote down Vote up Reply

This is definitely something that I need to read every 3 months, at least. Most of these are not obvious (at least to me).

User 244651 avatar

jakyra replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)