PHP get_declared_interfaces() function
Description
Returns an array of all declared interfaces.
Syntax
PHP get_declared_interfaces() function has the following syntax.
array get_declared_interfaces ( void )
Return Values
Returns an array of the names of the declared interfaces in the current script.
Example
Get all declared interfaces
<?php
print_r(get_declared_interfaces());
?>
The code above generates the following result.