Re: Re: Check class definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Boget wrote:
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()


// and
$is = class_exists($er, false); // suppress _autoload() call. php5


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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux