PHP Manualclass_exists(PHP 4, PHP 5) class_exists — Checks if the class has been defined Description
bool class_exists
( string
$class_name
[, bool $autoload = true
] )This function checks whether or not the given class has been defined. Parameters
Return Values
Returns Changelog
Examples
Example #1 class_exists() example
<?php Example #2
<?php See Also
![]() |
PHP-Index
New Tutorial entries
|