Earlier quoted context omitted.
Once I wrote a little PHP application to manage a clan in a browser game. I used an MD5 hash as session id that I checked with if(session_id) When users started reporting that their logins would sometimes not work at the first time, I found out that strings that start with zero are coerced to 0 and then interpreted as false. Never used PHP for anything important since.
> I used an MD5 hash as session id > Never used PHP for anything important since. The problem here isn't PHP, the problem here is you.
See: http://blog.codinghorror.com/falling-into-the-pit-of-success...
> When you write code in [PHP], you're always circling the pit of despair, just one misstep away from plunging to your doom.