php: unsafe at any speed

Consider:

gist

Looks pretty harmless? Yet this file demonstrates exactly why php should not be used with data you care about.

Scary! Its scary that so much can go so wrong in just a few lines of code when using a poorly designed tool. I don't know of another language that allows something this unsafe to run. Even javascript, which is plagued with numerous historical type/value mistakes, won't run the equivalent logic.

It is truly frightening that users on the web have their valuable data handled by tools like this.

last update 2012-05-16