PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Output Control> <Object overloading Functions
Last updated: Fri, 05 Sep 2008

view this page in

overload

(PHP 4 >= 4.2.0)

overloadEnable property and method call overloading for a class

Description

void overload ( string $class_name )

The overload() function will enable property and method call overloading for a class identified by class_name .

Parameters

class_name

The overloaded class name, as a string

Return Values

No value is returned.

Examples

See an example in the introductory section of this part.



add a note add a note User Contributed Notes
overload
tim at e2-media dot co dot nz
09-Jun-2008 01:35
Note that this function is totally pointless in php5. All it does is set up the same behaviour for a php4 class that already exists in php5.

Output Control> <Object overloading Functions
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites