Maybe next time, though, OP should read what OP posts before OO writes a title, as the content has nothing to do with PHP, its all sorts of languages (none of which PHP) and mostly javascript.
The content is pretty on point in general though, I've had the unfortunate luck of having dozens of developer candidates like that.
And oohh yeah, PHP sucks because everyone else says so and a blog post of 20 years ago said so too? That literally was the last argument I heard against PHP.