Home > PHP > Function > Classes/Objects > get_declared_classes()

get_declared_classes()

get_declared_classes - Returns an array with the name of the defined classes

Syntax

array get_declared_classes ()

Arguments

-

Description

Gets the declared classes.

Version

PHP 4, 5

Return value

Returns an array of the names of the declared classes in the current script.