From a6509a6fdd1cc752dd9577931a3d6f3e3df691c3 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 23 Sep 2015 13:18:30 +0300 Subject: [PATCH] Fixed test --- Zend/tests/typehints/scalar_return_basic.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } } -- 2.40.0