From: Dmitry Stogov Date: Wed, 23 Sep 2015 10:18:30 +0000 (+0300) Subject: Fixed test X-Git-Tag: php-7.1.0alpha1~1117^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6509a6fdd1cc752dd9577931a3d6f3e3df691c3;p=php Fixed test --- diff --git a/Zend/tests/typehints/scalar_return_basic.phpt b/Zend/tests/typehints/scalar_return_basic.phpt index b01a930485..9395ec9795 100644 --- a/Zend/tests/typehints/scalar_return_basic.phpt +++ b/Zend/tests/typehints/scalar_return_basic.phpt @@ -55,7 +55,7 @@ foreach ($functions as $type => $function) { try { var_dump($function($value)); } catch (TypeError $e) { - echo "*** Caught " . $e->getMessage() . PHP_EOL; + echo "*** Caught ", $e->getMessage(), " in ", $e->getFile(), " on line ", $e->getLine(), PHP_EOL; } } }