Translations:Developers/Object oriented programming in PHP/Classes/3/en

Another disadvantage of functions is, that they have only one return value. They normally can't change other data external to the function content. But methods can operate on the data of their objects. Classes have properties the methods are working with, so calling a method for an object is enough, to tell the method which data should be processed.