summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/str_replace_variation3.phpt
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-09-03 13:05:37 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-09-03 13:05:37 +0200
commit727b422ad91f0d767d8f0fb3951b89fa9da8668f (patch)
tree0bcd95b5f255655b23e2701f70826ec02b44add8 /ext/standard/tests/strings/str_replace_variation3.phpt
parent5bdf2fa3456e4b2fca53b9eff24c81e724e93170 (diff)
downloadphp-git-727b422ad91f0d767d8f0fb3951b89fa9da8668f.tar.gz
Fix #72948: Uncatchable "Catchable" fatal error for class to string conversions
E_RECOVERABLE errors are reported as "Catchable fatal error". This is misleading, because they actually can't be caught via try-catch statements. Therefore we change the wording to "Recoverable fatal error" as suggested by Nikita.
Diffstat (limited to 'ext/standard/tests/strings/str_replace_variation3.phpt')
-rw-r--r--ext/standard/tests/strings/str_replace_variation3.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/strings/str_replace_variation3.phpt b/ext/standard/tests/strings/str_replace_variation3.phpt
index 7b46f8b286..8f6f38f1f9 100644
--- a/ext/standard/tests/strings/str_replace_variation3.phpt
+++ b/ext/standard/tests/strings/str_replace_variation3.phpt
@@ -31,7 +31,7 @@ var_dump($count);
echo "\n-- Testing objects --\n";
-/* we get "Catchable fatal error: saying Object of class could not be converted
+/* we get "Recoverable fatal error: saying Object of class could not be converted
to string" by default, when an object is passed instead of string:
The error can be avoided by choosing the __toString magix method as follows: */