]> granicus.if.org Git - php/commitdiff
2 more test fixes
authorRasmus Lerdorf <rasmus@php.net>
Sat, 2 Feb 2008 00:44:45 +0000 (00:44 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 2 Feb 2008 00:44:45 +0000 (00:44 +0000)
tests/classes/autoload_012.phpt
tests/classes/bug27504.phpt

index cc73f3fd8d2ed8d6e4a2a86acbdf11ff5e9b2bcd..d6750b760dc0e3e3f71e4c4330cdfe085536ab8b 100644 (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
index c83a7ae0313ce1ebd06bc3298bbcabe20de9e200..5f2c5a03ce7ac3abfc7a24f1e7be6ab2dc50ff89 100644 (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