mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
2 more test fixes
This commit is contained in:
parent
b9954bef45
commit
9411b268b2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user