Re: PHP 4.0 Bug #6587 Updated: get_class_vars returns empty array
| From: | Andrei Zmievski | Date: | Thu, 07 Sep 2000 14:24:45 +0000 |
| Subject: | Re: PHP 4.0 Bug #6587 Updated: get_class_vars returns empty array | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32555@lists.php.net to get a copy of this message | ||
On Thu, 07 Sep 2000, PHP Developers wrote:
> ID: 6587
> Updated by: waldschrott
> Reported By: jon@webglow.com
> Status: Closed
> Bug Type: Class/Object related
> Assigned To:
> Comments:
>
> did closing without comment imply variables without initialized value cannot be retrieved with
> another function OR it that it does not make sense?
They cannot be retrieved, because Zend does not create entries for those
variables in the class descriptor if the variable is not initialized.
-Andrei
* If things appear to be going well, you have overlooked something. *