mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
15 lines
314 B
PHP
15 lines
314 B
PHP
--TEST--
|
|
Ensure __autoload() recursion is guarded for multiple lookups of same class using difference case.
|
|
--FILE--
|
|
<?php
|
|
function __autoload($name)
|
|
{
|
|
echo __FUNCTION__ . " $name\n";
|
|
class_exists("undefinedCLASS");
|
|
}
|
|
|
|
class_exists("unDefinedClass");
|
|
?>
|
|
--EXPECTF--
|
|
__autoload unDefinedClass
|