Copyright © tutorialspoint.com
| get_declared_interfaces ( void ); |
This function gets the declared interfaces.
| Parameter | Description |
|---|---|
| void | void means no parameter is required. |
Returns an array of the names of the declared interfaces in the current script.
Following is the usage of this function:
<?php print_r(get_declared_interfaces()); ?> |
It will produce following result:
Array
(
[0] => Traversable
[1] => IteratorAggregate
[2] => Iterator
[3] => ArrayAccess
[4] => reflector
[5] => RecursiveIterator
[6] => SeekableIterator
)
|
Copyright © tutorialspoint.com