summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-12-12 17:38:37 +0000
committerAndi Gutmans <andi@php.net>2001-12-12 17:38:37 +0000
commit74efc41fc39cc96342d5e2ed59c9218cee40950e (patch)
treed64df5efa6364e7baacd09ac25527a7c05360202 /Zend/zend_API.c
parent657ce39a28bdc40ef8cbf6702d1d4a0618874968 (diff)
downloadphp-git-74efc41fc39cc96342d5e2ed59c9218cee40950e.tar.gz
- Make classes have scope and function/constant lookups default to the class
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 2e433d68c5..b61e797e01 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1215,7 +1215,6 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_
class_entry->refcount = (int *) malloc(sizeof(int));
*class_entry->refcount = 1;
class_entry->constants_updated = 0;
- class_entry->is_namespace = 0;
zend_hash_init(&class_entry->default_properties, 0, NULL, ZVAL_PTR_DTOR, 1);
zend_hash_init(&class_entry->static_members, 0, NULL, ZVAL_PTR_DTOR, 1);
zend_hash_init(&class_entry->constants_table, 0, NULL, ZVAL_PTR_DTOR, 1);