php8.5
Home/ Manual/ spl / functions/ spl_autoload_call

spl_autoload_call

PHP function Edit on GitHub ✎

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

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

Description

spl_autoload_call(string $class): void

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

Parameters

class

The class name being searched.

Return Values

Void

Source: reference/spl/functions/spl-autoload-call.xml · from the official PHP manual (php/doc-en)