diff options
author | Felipe Pena <felipe@php.net> | 2008-02-04 13:56:50 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-02-04 13:56:50 +0000 |
commit | 5b335a2ff016b4334574003d6035551eb7577bcb (patch) | |
tree | 73182339bc99f93b345c695194ca6bf7871b6edd /tests/classes/bug27504.phpt | |
parent | 1348f95d204234529dc23caebc3c79ec7dd9cba6 (diff) | |
download | php-git-5b335a2ff016b4334574003d6035551eb7577bcb.tar.gz |
Fix tests (new error message)
Diffstat (limited to 'tests/classes/bug27504.phpt')
-rw-r--r-- | tests/classes/bug27504.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |