From: Rasmus Lerdorf Date: Sat, 2 Feb 2008 00:44:45 +0000 (+0000) Subject: 2 more test fixes X-Git-Tag: RELEASE_1_3_1~181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9411b268b24e477b0baba5ef4c4f8a9d9302a03e;p=php 2 more test fixes --- diff --git a/tests/classes/autoload_012.phpt b/tests/classes/autoload_012.phpt index cc73f3fd8d..d6750b760d 100644 --- a/tests/classes/autoload_012.phpt +++ b/tests/classes/autoload_012.phpt @@ -12,4 +12,4 @@ Ensure callback methods in unknown classes trigger autoload. --EXPECTF-- In autoload: string(6) "UndefC" -Warning: call_user_func() expects parameter 1 to be valid callback, string given in %s on line %d +Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in %s on line %d diff --git a/tests/classes/bug27504.phpt b/tests/classes/bug27504.phpt index c83a7ae031..5f2c5a03ce 100644 --- a/tests/classes/bug27504.phpt +++ b/tests/classes/bug27504.phpt @@ -20,6 +20,6 @@ Bug #27504 (call_user_func_array allows calling of private/protected methods) --EXPECTF-- Called function foo:bar(1) -Warning: call_user_func_array() expects parameter 1 to be valid callback, array given in %s on line %d +Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method foo::bar() in %s on line %d Fatal error: Call to private method foo::bar() from context '' in %s on line %d