From 9397f527248a948e4d3929adb119e7e3519ce5b8 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 28 Nov 2015 23:38:19 -0800 Subject: Fixed Bug #70967 (Weird error handling for __toString when Error is thrown) --- tests/classes/tostring_003.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/classes/tostring_003.phpt b/tests/classes/tostring_003.phpt index 8815bd9407..096a7502fe 100644 --- a/tests/classes/tostring_003.phpt +++ b/tests/classes/tostring_003.phpt @@ -30,4 +30,4 @@ catch(Exception $e) ?> ====DONE==== --EXPECTF-- -Fatal error: Method Test::__toString() must not throw an exception in %stostring_003.php on line %d +Fatal error: Method Test::__toString() must not throw an exception, caught Exception: Damn! in %stostring_003.php on line %d -- cgit v1.2.1