Re: [PHP-DEV] class variable problem

2002-02-12 Thread Ivan Ristic
> 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_cl

[PHP-DEV] class variable problem

2002-02-12 Thread Andrei Zmievski
This doesn't make sense: bar; ?> Results in: PHP Notice: Undefined property: bar 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. Please copy me on repl