Earlier quoted context omitted.
These are things very specific to PHP. Yes, there are language-specific gotchas in many environments. But I'm criticising specific things that do exist and that I've seen causing issues in real deployments. Things that make PHP accessible make it also an excellent footgun.
So.. what you're trying to highlight is that a language is supposed to make up for the incompetence of the person using it?
Humans are fallible. That is an immutable truth.
There’s no great wisdom in relying on human discipline alone to produce reliable software.