2 more test fixes

This commit is contained in:
Rasmus Lerdorf 2008-02-02 00:44:45 +00:00
parent b9954bef45
commit 9411b268b2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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