PHP has its flaws and syntactical problems. That's true. But on the other hand it is an easy-to-learn language with great usability for newbies as well as for more experienced programmers.
It is true that, especially with the functional approach and the concept of globals (like the old mysql_ driver) were huge problems and a syntactical pain in the ass (at least in my opinion).
But since PHP 7+ not only improved performance and requiring other .php files (waaay more to come with 7.4 - preloading- and 8 -JIT) but also with more and more libraries adapting an object oriented (PDO) or more local-scoped (mysqli_*) approach the weird and ugly looking procedures in PHP have started to disappear.
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.