diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-09-03 13:05:37 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-09-03 13:05:37 +0200 |
| commit | 727b422ad91f0d767d8f0fb3951b89fa9da8668f (patch) | |
| tree | 0bcd95b5f255655b23e2701f70826ec02b44add8 /main/main.c | |
| parent | 5bdf2fa3456e4b2fca53b9eff24c81e724e93170 (diff) | |
| download | php-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 'main/main.c')
| -rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index 0a1127176e..dd69734aea 100644 --- a/main/main.c +++ b/main/main.c @@ -1094,7 +1094,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u syslog_type_int = LOG_ERR; break; case E_RECOVERABLE_ERROR: - error_type_str = "Catchable fatal error"; + error_type_str = "Recoverable fatal error"; syslog_type_int = LOG_ERR; break; case E_WARNING: |
