diff options
| author | Zeev Suraski <zeev@php.net> | 2003-02-04 12:12:34 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2003-02-04 12:12:34 +0000 |
| commit | 471947b1885b82f82ba9c338731979c5cc952aec (patch) | |
| tree | 1711df79a216628d53d65348f9067bb07f372ce9 /Zend/zend_API.c | |
| parent | be3908cc8e6e3616b3f2dd5cf11479390cad917b (diff) | |
| download | php-git-471947b1885b82f82ba9c338731979c5cc952aec.tar.gz | |
Reimplement PPP properties
Diffstat (limited to 'Zend/zend_API.c')
| -rw-r--r-- | Zend/zend_API.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index c05e5a05d8..d99a2c40e2 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1379,8 +1379,7 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *orig_c class_entry->constants_updated = 0; class_entry->ce_flags = 0; zend_hash_init(&class_entry->default_properties, 0, NULL, ZVAL_PTR_DTOR, 1); - zend_hash_init(&class_entry->private_properties, 0, NULL, ZVAL_PTR_DTOR, 1); - zend_hash_init(&class_entry->protected_properties, 0, NULL, ZVAL_PTR_DTOR, 1); + zend_hash_init(&class_entry->default_properties_info, 0, NULL, NULL, 1); class_entry->static_members = (HashTable *) malloc(sizeof(HashTable)); 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); |
