note 10330 added to Objects
| From: | SPamlovellAM at mediaone dot net | Date: | Thu, 28 Dec 2000 15:49:39 +0000 |
| Subject: | note 10330 added to Objects | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9156@lists.php.net to get a copy of this message | ||
Is there nothing to allow "introspection".. that is, so I can write a function which
prints out a table of attribute/value pairs for datamembers?
e.g.:
Class dog {
var $name;
var $breed;
}
and a function that prints out
"name" == "Barky"
"breed" == "Terrier"
??
tone
http://www.php.net/manual/language.types.object.php