PHP 5, PHP 7, PHP 8
get_declared_interfaces - Returns an array of all declared interfaces
Code Examples

get_declared_interfaces( ): array

Gets the declared interfaces.


This function has no parameters.

Return Values

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

Related Functions

Example of get_declared_interfaces

Show all examples for get_declared_interfaces

PHP Version:

Function get_declared_interfaces:

Class/Object Information Functions

Most used PHP functions