It???s type system is the richest available, (far superior to Java, which was left in the dust years ago) whereas PHP added object orientation as an afterthought. (Compare with Ruby, which was designed to be OOP in reaction to the procedural artifacts of Python.)