xref: /PHP-7.3/tests/classes/autoload_019.phpt (revision 7af945e2)
1--TEST--
2Ensure __autoload() recursion is guarded for multiple lookups of same class using difference case.
3--FILE--
4<?php
5spl_autoload_register(function ($name) {
6  echo "autoload $name\n";
7  class_exists("undefinedCLASS");
8});
9
10class_exists("unDefinedClass");
11?>
12--EXPECT--
13autoload unDefinedClass
14