|
class_implementsReturn the interfaces which are implemented by the given class or interface Description
array class_implements
( mixed
$class
[, bool $autoload = true
] )
This function returns an array with the names of the interfaces that the
given Parameters
Return Values
An array on success, or Changelog
Examples
Example #1 class_implements example
<?phpThe above example will output something similar to:
Array
(
[foo] => foo
)
Array
(
[interface_of_not_loaded] => interface_of_not_loaded
)
See Also
|