cvs: php-src /ext/spl/tests bug38325.phpt
| From: | Hannes Magnusson | Date: | Mon, 06 Apr 2009 09:31:41 +0000 |
| Subject: | cvs: php-src /ext/spl/tests bug38325.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-56898@lists.php.net to get a copy of this message | ||
bjori Mon Apr 6 09:31:41 2009 UTC
Modified files:
/php-src/ext/spl/tests bug38325.phpt
Log:
Use an obscure name
# Yes, I have "foo.php" :]
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/bug38325.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/spl/tests/bug38325.phpt
diff -u php-src/ext/spl/tests/bug38325.phpt:1.4 php-src/ext/spl/tests/bug38325.phpt:1.5
--- php-src/ext/spl/tests/bug38325.phpt:1.4 Sat May 24 14:11:59 2008
+++ php-src/ext/spl/tests/bug38325.phpt Mon Apr 6 09:31:41 2009
@@ -3,7 +3,7 @@
--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