]> granicus.if.org Git - php/commitdiff
Use an obscure name
authorHannes Magnusson <bjori@php.net>
Mon, 6 Apr 2009 09:31:41 +0000 (09:31 +0000)
committerHannes Magnusson <bjori@php.net>
Mon, 6 Apr 2009 09:31:41 +0000 (09:31 +0000)
# Yes, I have "foo.php" :]

ext/spl/tests/bug38325.phpt

index f50f5cc675f31c770740e33f87f1e65f2ab26043..ddb2829da4dee19fbc6742f49234e970e614d9f0 100644 (file)
@@ -3,7 +3,7 @@ Bug #38325 (spl_autoload_register() gaves wrong line for "class not found")
 --FILE--
 <?php
 spl_autoload_register();
-new Foo();
+new ThisClassDoesNotExistEverFoo();
 ?>
 --EXPECTF--
-Fatal error: Class 'Foo' not found in %s on line %d
+Fatal error: spl_autoload(): Class ThisClassDoesNotExistEverFoo could not be loaded in %s on line 3