get_declared_classes

PHP 4, PHP 5, PHP 7, PHP 8
get_declared_classes - Returns an array with the name of the defined classes
Manual
Code Examples

Example #1 get_declared_classes example

Result: Array ( [0] => stdClass [1] => __PHP_Incomplete_Class [2] => Directory )
PHP Version:


Function get_declared_classes:

Class/Object Information Functions

Most used PHP functions