在线文档教程
PHP
SPL

spl_autoload_call

spl_autoload_call

(PHP 5 >= 5.1.2, PHP 7)

spl_autoload_call — Try all registered __autoload() functions to load the requested class

Description

void spl_autoload_call ( string $class_name )

This function can be used to manually search for a class or interface using the registered __autoload functions.

Parameters

class_name

The class name being searched.

Return Values

No value is returned.

← iterator_to_array

spl_autoload_extensions →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.spl-autoload-call.php