php-src/tests/classes/autoload_019.phpt

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