class_implements

PHP 5, PHP 7, PHP 8
class_implements - Return the interfaces which are implemented by the given class or interface
Manual
Code Examples

Example #1 class_implements example

Result: Array ( [foo] => foo ) Array ( [foo] => foo ) Array ( [interface_of_not_loaded] => interface_of_not_loaded )
PHP Version:


Function class_implements:

Standard PHP Library (SPL) Functions

Most used PHP functions