Classes/Object Functions
PHP Manual

__autoload

(PHP 5, PHP 7)

__autoloadAttempt to load undefined class

Description

void __autoload ( string $class )

You can define this function to enable classes autoloading.

Parameters

class

Name of the class to load

Return Values

No value is returned.

See Also


Classes/Object Functions
PHP Manual