Which class accepts a class name or an object reference and returns an array of interface name?
A. class_implements()
B. is_subclass()
C. is_subclass_of()
D. class_interface()
Answer:A
Which class accepts a class name or an object reference and returns an array of interface name?
A. class_implements() B. is_subclass() C. is_subclass_of() D. class_interface()
Explanation: is_subclass_of() will tell you only about class inheritance relationships. It will not tell you that a class implements an interface.