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