Detecting object types
| From: | brad lafountain | Date: | Sun, 05 May 2002 16:55:24 +0000 |
| Subject: | Detecting object types | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83722@lists.php.net to get a copy of this message | ||
Is there a cleaner way to find out if a parameter that was passed into a
function is a certin type. Currently i use.
strcmp(Z_OBJCE_P(val)->name, "class")
- Brad
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com