From: Nikita Popov Date: Thu, 14 Jul 2016 21:22:09 +0000 (+0200) Subject: Fix test output X-Git-Tag: php-7.1.0beta1~58^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b0e7520a9647193e3cae7d64efa6e0c3b0c512d;p=php Fix test output The error is now detected earlier, so the message ends up being different. --- diff --git a/tests/classes/abstract_user_call.phpt b/tests/classes/abstract_user_call.phpt index 3e88517715..6ce810c836 100644 --- a/tests/classes/abstract_user_call.phpt +++ b/tests/classes/abstract_user_call.phpt @@ -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===