]> granicus.if.org Git - php/commitdiff
Fix tests
authorFelipe Pena <felipe@php.net>
Mon, 4 Feb 2008 15:43:09 +0000 (15:43 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 4 Feb 2008 15:43:09 +0000 (15:43 +0000)
ext/spl/tests/spl_autoload_008.phpt
ext/standard/tests/array/array_walk_recursive_error1.phpt

index 369b8303e0b3cf4cb4ed95a58eadb4ace1366375..228845fdf7f0fd418d9bc013b64d073c6df39d86 100755 (executable)
@@ -82,7 +82,7 @@ Exception: Bla
 int(0)
 ====2====
 string(22) "MyAutoLoader::dynaLoad"
-LogicException: Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dynaLoad() should not be called statically)
+LogicException: Function 'MyAutoLoader::dynaLoad' not callable, (non-static method MyAutoLoader::dynaLoad() should not be called statically)
 int(0)
 ====3====
 array(2) {
@@ -144,7 +144,7 @@ Exception: Bla
 int(0)
 ====2====
 unicode(22) "MyAutoLoader::dynaLoad"
-LogicException: Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dynaLoad() should not be called statically)
+LogicException: Function 'MyAutoLoader::dynaLoad' not callable, (non-static method MyAutoLoader::dynaLoad() should not be called statically)
 int(0)
 ====3====
 array(2) {
index 182e2217bff6b8b6d76b84fdd8a485a5bbced5d2..15ace972132d7f7f6dc12335b24a3613b1df128b 100644 (file)
@@ -43,7 +43,7 @@ Warning: array_walk_recursive() expects at least 2 parameters, 1 given in %s on
 NULL
 -- Testing array_walk_recursive() function with non existent callback function  --
 
-Warning: array_walk_recursive() expects parameter 2 to be valid callback, string given in %s on line %d
+Warning: array_walk_recursive() expects parameter 2 to be a valid callback, function 'non_existent' not found or invalid function name in %s on line %d
 NULL
 Done
 --UEXPECTF--