PHP5 Advanced Patterns Object PDF Ebook
In PHP 5, extensions written in C can overload almost every aspect of the object syntax. It also allows PHP code to overload a limited subset that is most often needed. This section covers the overloading abilities that you can control from your PHP code.
PHP allows overloading of property access and method calls by implementing
special proxy methods that are invoked if the relevant property or method
doesn’t exist. This gives you a lot of flexibility in intercepting these actions and defining your own functionality.
