class_implements --
Return the interfaces which are implemented by the given class
Syntax
array class_implements ( object class )
This function returns an array with the name of the interfaces that the
given class implements.
Example 1. class_implements() example
<?php
interface foo { } class bar implements foo {}
print_r(class_implements(new bar));
?>
The above example will output:
Array
(
[foo] => foo
)
Php class implements Function syntax tag
class implements php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php class implements syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.