Re: Re: Check class definition
| From: | Chris Boget | Date: | Fri, 03 Jun 2005 16:00:31 +0000 |
| Subject: | Re: Re: Check class definition | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216327@lists.php.net to get a copy of this message | ||
> > 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()
I found that after it dawned on me to search for the phrase
exists in the documentation. I wonder why that function isn't
referenced in the function_exists() documentation page at
the bottom where like functions are listed...?
thnx,
Chris