Skip to content

Commit 9e22c3d

Browse files
committed
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
1 parent baf3a91 commit 9e22c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3391,7 +3391,7 @@ static void get_unlinked_dependency(zend_class_entry *ce, const char **kind, con
33913391
}
33923392
#ifdef ZEND_WIN32
33933393
if (p->type == ZEND_INTERNAL_CLASS) {
3394-
*kind = "Internal parent (Windows only limitation)";
3394+
*kind = "Windows can't link to internal parent ";
33953395
*name = ZSTR_VAL(ce->parent_name);
33963396
return;
33973397
}

0 commit comments

Comments
 (0)