Home > PHP > Function > Object overloading > overload()

overload()

overload - Enable property and method call overloading for a class

Syntax

overload (string $class_name)

Arguments

  • class_name - The overloaded class name, as a string

Description

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

Version

PHP 4.3.0

Return value

No value is returned.