Re: Check class definition
| From: | Matthew Weier O'Phinney | Date: | Fri, 03 Jun 2005 15:55:34 +0000 |
| Subject: | Re: Check class definition | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216326@lists.php.net to get a copy of this message | ||
* "Chris Boget" <chris.boget@wild.net>:
> You can use defined() to check to see if a constant has been
> defined. You can use function_exists() to see if a function
> has been defined. But what can you use to check to see if
> a class has been defined?
class_exists()
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org