PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 5)
This function returns an array of the names of the declared interfaces in the current script.
Example 1. get_declared_interfaces() example
<?phpprint_r(get_declared_interfaces());?>
The above example will output something similar to:
Array ( [0] => Traversable [1] => IteratorAggregate [2] => Iterator [3] => ArrayAccess [4] => reflector [5] => RecursiveIterator [6] => SeekableIterator )
See also get_declared_classes().