summaryrefslogtreecommitdiff
path: root/Zend/tests/bug26166.phpt
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 /Zend/tests/bug26166.phpt
parent5af61aa1cc7bfc6e0087f6176d25fd3a002740b1 (diff)
downloadphp-git-9397f527248a948e4d3929adb119e7e3519ce5b8.tar.gz
Fixed Bug #70967 (Weird error handling for __toString when Error is thrown)
Diffstat (limited to 'Zend/tests/bug26166.phpt')
-rw-r--r--Zend/tests/bug26166.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/bug26166.phpt b/Zend/tests/bug26166.phpt
index 9e31efa442..a77989c7c2 100644
--- a/Zend/tests/bug26166.phpt
+++ b/Zend/tests/bug26166.phpt
@@ -68,7 +68,7 @@ catch (Exception $e) {
--EXPECTF--
Hello World!
===NONE===
-string(56) "Method NoneTest::__toString() must return a string value"
+string(%d) "Method NoneTest::__toString() must return a string value"
===THROW===
-Fatal error: Method ErrorTest::__toString() must not throw an exception in %sbug26166.php on line %d
+Fatal error: Method ErrorTest::__toString() must not throw an exception, caught Exception: This is an error! in %sbug26166.php on line %d