Category: eval

The Delicious Evils of PHP

I want to look at two PHP functions: eval and exec. They’re so often thrown under the sensible-developers-never-use-these bus that I sometimes wonder how many awesome applications we miss out on. Like every other function in the standard library, these have their uses. They can be abused. Their danger lies in the...