Sail E0 Webinar
Question
Which function will return true if a variable is an array or false if it is not?
Options:
A .  this_array()
B .  is_array()
C .  do_array()
D .  in_array()
Answer: Option B


A built-in function, is_array(), is available for testing an array. Its prototype follows: boolean is_array(mixed variable).



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers