spl_autoload_functions

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

spl_autoload_functionsReturn all registered __autoload() functions

Опис

spl_autoload_functions(): array

Get all registered __autoload() functions.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

An array of all registered __autoload functions. If no function is registered, or the autoload queue is not activated, then the return value will be an empty array.

Журнал змін

Версія Опис
8.0.0 Return value was updated to always be an array; previously this function returned false if the autoload queue wasn't activated.