Re: [PHP4BETA] Session: objects containing objects
| From: | Andrei Zmievski | Date: | Sat, 26 Feb 2000 20:23:23 +0000 |
| Subject: | Re: [PHP4BETA] Session: objects containing objects | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11055@lists.php.net to get a copy of this message | ||
On Fri, 25 Feb 2000, Kristian Köhntopp wrote:
> Regarding the topic above:
>
> // should return array("bar" => "");
> // or whatever value foo:bar is statically assigned to.
> // since this operates on the class, it should always
> // return the same
> get_class_vars(foo);
Zend does not add properties which don't have default values. So if a
class is declared as:
class foo {
var $bar;
}
"bar" is not entered into the properties table.
-Andrei
* I don't have a solution but I admire the problem. *