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