PHP function checks if a class already has been defined
Sometime you might run into problems in PHP where a class is already being defined. In order to avoid defining the same class twice, you can use class_exists function to do the check first.
-
PHP Function Checks if a Class Already Has Been Defined
smallwei

smallwei 9:23 pm on November 30, 2009
Example:
More examples @ http://php.net/manual/en/function.class-exists.php