We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366c8e2 commit 495fb67Copy full SHA for 495fb67
Zend/zend_namespaces.c
@@ -84,6 +84,7 @@ static zend_class_entry *insert_namespace(const zend_string *name) {
84
zend_class_entry *zend_resolve_namespace(zend_string *name) {
85
if (global_namespace == NULL) {
86
global_namespace = create_namespace(zend_empty_string);
87
+ global_namespace->lexical_scope = NULL;
88
zend_hash_init(&namespaces, 8, NULL, ZEND_CLASS_DTOR, 1);
89
zend_hash_add_ptr(&namespaces, zend_empty_string, global_namespace);
90
}
0 commit comments