From: Felipe Pena Date: Mon, 4 Feb 2008 15:43:09 +0000 (+0000) Subject: Fix tests X-Git-Tag: RELEASE_2_0_0a1~628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=421295b52e12048bf28db44e0a95c88acdfc200a;p=php Fix tests --- diff --git a/ext/spl/tests/spl_autoload_008.phpt b/ext/spl/tests/spl_autoload_008.phpt index 369b8303e0..228845fdf7 100755 --- a/ext/spl/tests/spl_autoload_008.phpt +++ b/ext/spl/tests/spl_autoload_008.phpt @@ -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) { diff --git a/ext/standard/tests/array/array_walk_recursive_error1.phpt b/ext/standard/tests/array/array_walk_recursive_error1.phpt index 182e2217bf..15ace97213 100644 --- a/ext/standard/tests/array/array_walk_recursive_error1.phpt +++ b/ext/standard/tests/array/array_walk_recursive_error1.phpt @@ -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--