Object overloading 函数
PHP 手册

overload

(PHP 4 >= 4.2.0)

overloadEnable 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 手册