You can be burned by every program language if you dont know the in and outs. It all boils down to, pick the right language for the job and more important, know the language you choose.
PHP, javascript are not them.
Probably that's the reason why Clojure tends to be in top of the "developer happiness" polls.
It may in fact be that PHP has improved to the point that the relationship isn't abusive anymore. But I'll never go back to find out. PHP and me were done years ago.