1) As mentioned there are a number of language inconsistencies, much more so than comparable languages. This includes naming schemes for functions
2) PHP and most major projects written in it are insecure. Even up-to-date Wordpress installs are vulnerable to attacks.
3) Testing still isn't in vogue. Few projects have any testing and for those that do the testing tools aren't nearly as strong as in other languages
4) The tooling that surrounds the ruby, python, go, javascript languages is much more advanced than what PHP has even now. PHP only really got a decent package manager last year.
5) For a long time most PHP projects were procedural. Real OO was only introduced in PHP 5.
6) There is a lot of bad code written in PHP because it was so accessable.
7) Most examples of PHP projects are CMS' which don't require a ton of experience to build. You meet a lot of people who have spent 10 years in the industry that really have just managed content that don't know how to build something complex and don't have any background in data structures, algorithms etc
8) The PHP community is extremely fractured. There are something on the order of 10+ major PHP frameworks. Zend, Symfony, Codeigniter, Cake, Laravel, Kohana, Yii plus a number of more minor frameworks like Lithium, Silex etc before you get to the CMS' like Joomla, Wordpress and Drupal