как работает php автозагрузчик

Открывает ли php класс Autoloader файл и проверяет ли имя класса? Я смотрю на то, как это на самом деле осуществляется. Одно я знаю, что это рекурсивно? Если я ошибаюсь, пожалуйста, дайте мне знать

Как упомянуто здесь:автозагрузчик краткий вид Как работает PHP Autoloader

The PHP Autoloader searches recursively in defined directories for class, trait and interface definitions. Without any further configuration the directory in which the requiring file resides will be used as default class path.

File names don't need to obey any convention. All files are searched for class definitions. Files which are similar to the class name or end with .php or .inc are preferred. If supported, PHP Tokenizer will be used for reliable class definition discovery.

Ответы на вопрос(1)

Ваш ответ на вопрос