Q89
You use the get_class_methods() function to return the names of all the methods in the class. Which function will you use to print it on the screen?
A.
printf()
B.
print_ar
C.
print_r
AnswerD.
echo
Answer: Option C
Solution
Answer: Option C
Solution:
The function get_class_methods returns an array therefore we cannot use echo.