Re: class variable problem
| From: | Ivan Ristic | Date: | Tue, 12 Feb 2002 17:31:34 +0000 |
| Subject: | Re: class variable problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79989@lists.php.net to get a copy of this message | ||
> I think it's misleading in best case. Property 'bar' *is* declared, so I
> think it should have an entry in class's default_properties table, even
> though it's not assigned a value.
I agree. There is another problem: if you do not initialize
a variable then it won't be listed using get_class_vars(). Now
that is confusing.
Can we have default values?
--
Best regards,
Ivan Ristic, Chief Technology Officer
DataGate Network Solutions Ltd. - http://www.datagate.net
Tel: +44 8700 119090, Fax: +44 8700 119080