Object and properties
| From: | Cosmin | Date: | Mon, 13 Oct 2003 08:51:53 +0000 |
| Subject: | Object and properties | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165938@lists.php.net to get a copy of this message | ||
Is there a way to find out all the properties from an object?
For instance if I have:
---------------------------
class test
{
var $a;
var $b;
var $c;
function test(){}
}
$example= new test();
---------------------------
, is there a function to tell me that the object example has the
'a','b',and 'c' properties.