Everything works if you know it well enough. But what I remember annoying me with php most was the naming convention mess, array_search, count, strlen, etc.
I think the PHP maintainers recognize that drawback and are working/have done a lot of work to fix conventions. I remember having to fix my code the last time I updated to the latest PHP version because they changed the arguments to a function call to be more in line with the arguments for other similar functions.
After like a 10 years of coding in everything except PHP I actually started missing PHP. Everything is so bloated nowadays and all the shit that gets thrown towards the PHP is mostly just a BS from those that either never coded in PHP or stopped coding before PHP 5.6.
Modern PHP shits all over the PHP v3, v4, v5 days of yore.
Anyone making new projects from scratch is living in a land of bliss while those working in projects/frameworks that started in the days of yore are having experiences across the whole spectrum of, "Wow, I sure am glad we migrated to modern php" to "please kill me, I'm in so much pain".