http://www.techflirt.com/tutorials/oop-in-php/overloading-and-overriding.html

See also Magic methods:

http://culttt.com/2014/04/16/php-magic-methods/

Advertisements