]> granicus.if.org Git - php/commitdiff
- Add unicode expectations
authorMarcus Boerger <helly@php.net>
Wed, 20 Dec 2006 22:08:51 +0000 (22:08 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 20 Dec 2006 22:08:51 +0000 (22:08 +0000)
ext/spl/tests/spl_autoload_001.phpt

index f78e31ab402e4e6fd457e2fefc7358b7f930057e..57cfbb6e827fa953585e58e9f5be62a02fe1ec1d 100755 (executable)
@@ -136,3 +136,34 @@ bool(true)
 ===NOFUNCTION===
 Exception: Function 'unavailable_autoload_function' not found
 ===DONE===
+--UEXPECTF--
+===EMPTY===
+unicode(9) ".inc,.php"
+%stestclass.inc
+Exception: Class TestClass could not be loaded
+===()===
+Exception: Class TestClass could not be loaded
+===(1)===
+Exception: Class TestClass could not be loaded
+===(.inc,,.php.inc)===
+%stestclass
+%stestclass.php.inc
+Exception: Class TestClass could not be loaded
+===()===
+Exception: Class TestClass could not be loaded
+Exception: Class TestClass could not be loaded
+===SPL_AUTOLOAD()===
+unicode(4) ".inc"
+Exception: Class TestClass could not be loaded
+===REGISTER===
+TestFunc1(TestClass)
+TestFunc2(TestClass)
+bool(false)
+===LOAD===
+TestFunc1(TestClass)
+TestFunc2(TestClass)
+%stestclass.class.inc
+bool(true)
+===NOFUNCTION===
+Exception: Function 'unavailable_autoload_function' not found
+===DONE===