]> granicus.if.org Git - php/commitdiff
Improve error message
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 10 Dec 2019 11:46:45 +0000 (12:46 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 10 Dec 2019 12:19:58 +0000 (13:19 +0100)
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

index ccd300390fc69b471a466eb62cdb787bdfeda052..df8d3c77460e6cb07269e65274d24deefb3c9b19 100644 (file)
@@ -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;
                }