note 41567 deleted from function.is-a by aidan

From: Date: Thu, 03 Jun 2004 08:21:51 +0000
Subject: note 41567 deleted from function.is-a by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70770@lists.php.net to get a copy of this message
Note Submitter: ben daash xo at dubplates.org ---- This really needs to be cross-posted here (from is_subclass_of): You can duplicate the functionality of is_a (for PHP versions that miss it) like so: <?php function is_a($anObject, $aClass) { return get_class($anObject) == strtolower($aClass) or is_subclass_of($anObject, $aClass); } ?>

« previous php.notes (#70770) next »