Object overloading 函数
PHP Manual

overload

(PHP 4 >= 4.3.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 Manual