mirror of
https://github.com/php/php-src.git
synced 2025-01-03 17:33:32 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
14 lines
300 B
PHP
14 lines
300 B
PHP
--TEST--
|
|
Ensure __autoload() recursion is guarded for multiple lookups of same class using difference case.
|
|
--FILE--
|
|
<?php
|
|
spl_autoload_register(function ($name) {
|
|
echo "autoload $name\n";
|
|
class_exists("undefinedCLASS");
|
|
});
|
|
|
|
class_exists("unDefinedClass");
|
|
?>
|
|
--EXPECT--
|
|
autoload unDefinedClass
|