Skip to content

Commit 7b34e30

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Preload: Better reason message for internal parents on windows
2 parents a298bde + 7cbf31a commit 7b34e30

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3453,6 +3453,13 @@ static void get_unlinked_dependency(zend_class_entry *ce, const char **kind, con
34533453
*name = ZSTR_VAL(ce->parent_name);
34543454
return;
34553455
}
3456+
#ifdef ZEND_WIN32
3457+
if (p->type == ZEND_INTERNAL_CLASS) {
3458+
*kind = "Internal parent (Windows only limitation)";
3459+
*name = ZSTR_VAL(ce->parent_name);
3460+
return;
3461+
}
3462+
#endif
34563463
if (!(p->ce_flags & ZEND_ACC_CONSTANTS_UPDATED)) {
34573464
*kind = "Parent with unresolved initializers ";
34583465
*name = ZSTR_VAL(ce->parent_name);

0 commit comments

Comments
 (0)