diff options
-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); |