GoLang __autoload

request it (118)
GoLang replacement for PHP's __autoload [edit | history]



Do you know a GoLang replacement for PHP's __autoload? Write it!

PHP __autoload

PHP original manual for __autoload [ show | php.net ]

__autoload

(PHP 5, PHP 7)

__autoloadAttempt to load undefined class

Warning

This feature has been DEPRECATED as of PHP 7.2.0. Relying on this feature is highly discouraged.

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