summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-12-16 22:19:02 +0000
committerMarcus Boerger <helly@php.net>2005-12-16 22:19:02 +0000
commit10f77a5d713c1e206cd72b5ec85a755da5fd52d4 (patch)
tree943423b4e2891768be74ecdf72dfa22b56deffd8 /tests
parent4bb39ad2a59e3d9b6fc0bb91745e4a71d79513aa (diff)
downloadphp-git-10f77a5d713c1e206cd72b5ec85a755da5fd52d4.tar.gz
- Add/fix tests
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/bug27504.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/classes/bug27504.phpt b/tests/classes/bug27504.phpt
index 64d68ba8ae..ca13990c93 100644
--- a/tests/classes/bug27504.phpt
+++ b/tests/classes/bug27504.phpt
@@ -20,5 +20,6 @@ Bug #27504 (call_user_func_array allows calling of private/protected methods)
--EXPECTF--
Called function foo:bar(%d)
-Fatal error: Call to private method foo::bar() from context '' in %s on line 13
+Warning: call_user_func_array(): First argument is expected to be a valid callback, 'foo::bar' was given in %sbug27504.php on line %d
+Fatal error: Call to private method foo::bar() from context '' in %s on line %d