com php-src: Fixed test: Zend/tests/typehints/scalar_return _basic.phpt

From: Date: Wed, 23 Sep 2015 10:18:30 +0000
Subject: com php-src: Fixed test: Zend/tests/typehints/scalar_return _basic.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89127@lists.php.net to get a copy of this message
Commit: a6509a6fdd1cc752dd9577931a3d6f3e3df691c3 Author: Dmitry Stogov <dmitry@zend.com> Wed, 23 Sep 2015 13:18:30 +0300 Parents: 1e3333e4bd84d84524c0671b63801b5ad5e1b200 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a6509a6fdd1cc752dd9577931a3d6f3e3df691c3 Log: Fixed test Changed paths: M Zend/tests/typehints/scalar_return_basic.phpt Diff: diff --git a/Zend/tests/typehints/scalar_return_basic.phpt b/Zend/tests/typehints/scalar_return_basic.phpt index b01a930..9395ec9 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; } } }

« previous php.cvs (#89127) next »