|
get_declared_classesReturns an array with the name of the defined classes Description
array get_declared_classes
( void
)
Gets the declared classes. Return ValuesReturns an array of the names of the declared classes in the current script.
Examples
Example #1 get_declared_classes example
<?phpThe above example will output something similar to:
Array
(
[0] => stdClass
[1] => __PHP_Incomplete_Class
[2] => Directory
)
See Also
|