Re: do_declare_property()
| From: | Zeev Suraski | Date: | Tue, 11 Jul 2000 23:05:33 +0000 |
| Subject: | Re: do_declare_property() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24241@lists.php.net to get a copy of this message | ||
A good start would be knowing how you implemented these access control modifiers. As far as I can tell there's no real transparent way of doing this without either slowing Zend down considerably, or consuming roughly 2x memory (even if you don't use objects).
Zeev
At 02:00 12/07/2000, Mathieu Kooiman (ggInternet) wrote:
Hiya
When you go like this:
class test {
var $test1;
}
do_declare_property is called, but unless its initialized its not
even added to the class' hashtable.. Now I'm working on the
private/protected stuff.. erhm.. this way, its not added, thus not
recognized as a private/protected variable
what should I do, add it anyway with 'false' in it?
Any ideas?
(oh and, defining variables ahead kinda lost its meaning to me:P~)
CaPS
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/