|
class_implementsReturn the interfaces which are implemented by the given class or interface Beschreibung
array class_implements
( mixed
$class
[, bool $autoload = true
] )
This function returns an array with the names of the interfaces that the
given Parameter-Liste
Rückgabewerte
An array on success, or Changelog
Beispiele
Beispiel #1 class_implements example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
Array
(
[foo] => foo
)
Array
(
[interface_of_not_loaded] => interface_of_not_loaded
)
Siehe auch
|