class_exists

PHP 4, PHP 5, PHP 7, PHP 8
class_exists - Checks if the class has been defined
Manual
Code Examples

Example #1 class_exists example

PHP Version:

Example #2 <span class='function-parameter'>autoload</span> parameter example

PHP Version:


Function class_exists:

Class/Object Information Functions

Most used PHP functions