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

search for in the

OCI8> <Object overloading
Last updated: Sun, 25 Nov 2007

view this page in

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.



add a note add a note User Contributed Notes
overload
tim at e2-media dot co dot nz
09-Jun-2008 12: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.

OCI8> <Object overloading
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites