summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-11-28 23:38:19 -0800
committerXinchen Hui <laruence@gmail.com>2015-11-28 23:38:19 -0800
commit9397f527248a948e4d3929adb119e7e3519ce5b8 (patch)
tree9629c067cbdc1aade567af639d36a7b22f3e9045 /tests
parent5af61aa1cc7bfc6e0087f6176d25fd3a002740b1 (diff)
downloadphp-git-9397f527248a948e4d3929adb119e7e3519ce5b8.tar.gz
Fixed Bug #70967 (Weird error handling for __toString when Error is thrown)
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/tostring_003.phpt2
1 files changed, 1 insertions, 1 deletions
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