diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-12-04 09:52:40 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-12-04 09:52:40 +0100 |
commit | 7cbf31a3c754961e0ebfd5022191c1c9080effdb (patch) | |
tree | 8a5a9866d39440ef5d6ea38cbaa20ef8eb424005 | |
parent | 6540797f1ef5116d9c806baebc43582980db242d (diff) | |
download | php-git-7cbf31a3c754961e0ebfd5022191c1c9080effdb.tar.gz |
Preload: Better reason message for internal parents on windows
Related to bug #78881.
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 704e1c38d9..895bf82b45 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -3389,6 +3389,13 @@ static void get_unlinked_dependency(zend_class_entry *ce, const char **kind, con *name = ZSTR_VAL(ce->parent_name); return; } +#ifdef ZEND_WIN32 + if (p->type == ZEND_INTERNAL_CLASS) { + *kind = "Internal parent (Windows only limitation)"; + *name = ZSTR_VAL(ce->parent_name); + return; + } +#endif if (!(p->ce_flags & ZEND_ACC_CONSTANTS_UPDATED)) { *kind = "Parent with unresolved initializers "; *name = ZSTR_VAL(ce->parent_name); |