OOP aspects of PHP