Object overloading
PHP Manual

overload

(PHP 4 >= 4.2.0)

overload — Enable property and method call overloading for a class

说明

void overload ( string $class_name )

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

参数

class_name

The overloaded class name, as a string

返回值

无返回值。

范例

See an example in the introductory section of this part.


Object overloading
PHP Manual