note 19763 deleted from function.is-a by nlopess

From: Date: Fri, 09 Apr 2004 14:29:13 +0000
Subject: note 19763 deleted from function.is-a by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67894@lists.php.net to get a copy of this message
Note Submitter: dan at mojavelinux dot com ---- php implementation to keep us happy for now if (!function_exists('is_a')) { function is_a($class, $match) { if (empty($class)) { return false; } $class = is_object($class) ? get_class($class) : $class; if (strtolower($class) == strtolower($match)) { return true; } return is_a(get_parent_class($class), $match); } }

« previous php.notes (#67894) next »