Version 5 of PHP can be seen as the expression of at least two different trends in modern software engineering: the object-oriented trend and the simplicity trend.The object-oriented trend has carried with it a number of innovations, including several object-oriented languages, design patterns, and various rules and principles.The new features of PHP 5 are specifically designed to allow PHP programmers to be a part of this trend.
On the other hand, and especially in agile development, there has been a realization that problems aren’t solved simply by throwing ever more complex object-oriented constructs at them, and that complexity should be kept at a minimum. PHP helps with this, too, owing to the convenience and simplicity of PHP for basic web programming tasks, and the fact that the new object-oriented features are mostly optional.
On the other hand, and especially in agile development, there has been a realization that problems aren’t solved simply by throwing ever more complex object-oriented constructs at them, and that complexity should be kept at a minimum. PHP helps with this, too, owing to the convenience and simplicity of PHP for basic web programming tasks, and the fact that the new object-oriented features are mostly optional.