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