Re: [PHP4BETA] Object property collection?

From: Date: Mon, 01 May 2000 15:12:08 +0000
Subject: Re: [PHP4BETA] Object property collection?
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-14273@lists.php.net to get a copy of this message
Andrei Zmievski wrote: > There are two functions that do this: get_class_vars() and > get_object_vars(). The first one takes a class name and returns an array > of property names that were defined inside the class with "var..". The > second one takes an instantiated object and returns an array of property > names that object has - which may be more than were defined for the > class. Excellent. Is there some way to determine what classes are available in the current active session (so one could automatically roll thru all classes) ? Will function/method names ever be visible too (one day parhaps) ? --markc

« previous php.version4 (#14273) next »