From 9e22c3d4d976fb0a7298f32dd5e82d8a506116b5 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 10 Dec 2019 12:46:45 +0100 Subject: [PATCH] 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 --- ext/opcache/ZendAccelerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index ccd300390f..df8d3c7746 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -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; } -- 2.50.1