com php-src: Fix test output: tests/classes/abstract_user_c all.phpt

From: Date: Thu, 14 Jul 2016 21:22:09 +0000
Subject: com php-src: Fix test output: tests/classes/abstract_user_c all.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93032@lists.php.net to get a copy of this message
Commit: 0b0e7520a9647193e3cae7d64efa6e0c3b0c512d Author: Nikita Popov <nikic@php.net> Thu, 14 Jul 2016 23:22:09 +0200 Parents: a50a5c1bf1254424406746dfb51203ec6c56ef46 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0b0e7520a9647193e3cae7d64efa6e0c3b0c512d Log: Fix test output The error is now detected earlier, so the message ends up being different. Changed paths: M tests/classes/abstract_user_call.phpt Diff: diff --git a/tests/classes/abstract_user_call.phpt b/tests/classes/abstract_user_call.phpt index 3e88517..6ce810c 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===

« previous php.cvs (#93032) next »