diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-10 12:46:45 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-10 13:19:58 +0100 |
commit | 9e22c3d4d976fb0a7298f32dd5e82d8a506116b5 (patch) | |
tree | 97d9aa258d7f4832e89b003463abec53e954ac09 | |
parent | baf3a9133bf0bc7069e5191b780c221485b2dda6 (diff) | |
download | php-git-9e22c3d4d976fb0a7298f32dd5e82d8a506116b5.tar.gz |
Improve error message
Formerly, the error message was like:
| Can't preload unlinked class MyException: Internal parent (Windows
| only limitation)Exception
Now it's like:
| Can't preload unlinked class MyException: Windows can't link to
| internal parent Exception
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index ccd300390f..df8d3c7746 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -3391,7 +3391,7 @@ static void get_unlinked_dependency(zend_class_entry *ce, const char **kind, con } #ifdef ZEND_WIN32 if (p->type == ZEND_INTERNAL_CLASS) { - *kind = "Internal parent (Windows only limitation)"; + *kind = "Windows can't link to internal parent "; *name = ZSTR_VAL(ce->parent_name); return; } |