I do hope that we remove this idea that "PHP Sucks" because it really doesn't.
What you are forgetting, or simply do not realize is that the point of the book was to point people away from the bad parts, which never have to be used. There is a powerful and sane subset of JS.
No such subset in PHP. The poorly thought-out and mind-melting idiocy weaves throughout the language. It is impossible to write "PHP: The Good Parts" and still have a complete and useful language.
That PHP end users don't understand this, or understand CS concepts in general, is an indictment on the entire PHP ecosystem.
It is not just your comment, every pro-PHP comment lacks any technical sophistication or understanding. That is PHP in a nutshell.
PHP: for amateurs, by amateurs.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.