]> granicus.if.org Git - php/commitdiff
Fix test output
authorNikita Popov <nikic@php.net>
Thu, 14 Jul 2016 21:22:09 +0000 (23:22 +0200)
committerNikita Popov <nikic@php.net>
Thu, 14 Jul 2016 21:22:09 +0000 (23:22 +0200)
The error is now detected earlier, so the message ends up being
different.

tests/classes/abstract_user_call.phpt

index 3e885177150e44efc0a11abb9ebf423dd5684b77..6ce810c836ec12f8fc41e797a01074a74c5d09bb 100644 (file)
@@ -27,7 +27,5 @@ call_user_func(array($o, 'test_base::func'));
 --EXPECTF--
 test::func()
 
-Fatal error: Uncaught Error: Cannot call abstract method test_base::func() in %s:%d
-Stack trace:
-#0 {main}
-  thrown in %s on line %d
+Warning: call_user_func() expects parameter 1 to be a valid callback, cannot call abstract method test_base::func() in %s on line %d
+===DONE===