diff options
author | Andi Gutmans <andi@php.net> | 2002-07-15 18:09:56 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-07-15 18:09:56 +0000 |
commit | bc5ea87e281aed931e64c55822c91cc29565c3f9 (patch) | |
tree | c38a7c1b50ca36316d552a385fe1889fe087d84d /Zend/zend.h | |
parent | 50ca75a0f614961fa1b5effc220c116a0bbda616 (diff) | |
download | php-git-bc5ea87e281aed931e64c55822c91cc29565c3f9.tar.gz |
- Commit patch to support protected member variables (by Timm Friebe w/
- some fixes by me).
- You can't access protected variables from outside the object. If you want
- to see a protected member from your ancestors you need to declare the
- member as protected in the class you want to use it in. You can't
- redeclare a protected variable as private nor the other way around.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index ab526c9043..d0c2667b6d 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -291,6 +291,7 @@ struct _zend_class_entry { HashTable function_table; HashTable default_properties; HashTable private_properties; /* This is only needed at compile-time */ + HashTable protected_properties; /* This is only needed at compile-time */ HashTable class_table; HashTable *static_members; HashTable constants_table; |