mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
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
This commit is contained in:
parent
baf3a9133b
commit
9e22c3d4d9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user