@tofu said:
But if you want something safer you have to pay for it. People who aren't willing or able to pay fall back on the free and dangerous tool.
I don't see what the problem is?
"How dare those mean evil PHP people give this away for free!" huh?
I'm not making moral judgements about the authors of PHP; I'm making a correction to the gun analogy. Someone pointed out that guns, being weapons are inherently dangerous. Programming languages, being intended to control computers are also dangerous - any programming language that you can't seriously screw something up with is probably not worth using.
My point is not to say that the designers of PHP are bad people, but to suggest that some features should work differently, especially in a language
marketed to intended for use by beginners. You don't have to pay for a better web scripting language: eruby can run inside HTML just like PHP, and I think there's something similar for Python. Of course, for a large project, you'd probably restrict code embedded in HTML to simple templating and put your logic somewhere else. There are far too many free frameworks for that for me to enumerate here. Some of them are good (Rails comes to mind).