Re: simple feature request :]
| From: | Sara Golemon | Date: | Wed, 03 Mar 2004 23:34:44 +0000 |
| Subject: | Re: simple feature request :] | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8362@lists.php.net to get a copy of this message | ||
> i was wondering if there would be much trouble with adding boolean trigger
> to
> get_class_vars ( string class_name) and
> get_object_vars ( object obj)
> which will tell this functions whether to return array with names and
values
> or with names only. with default option set to returning names and values
> there will be no bc broken.
>
> or maybe there is somewhere a function that lists class/object variables
> names?
>
Something like array_keys(get_class_vars($classname)) or
array_keys(get_object_vars($object)) ?