1.

Which function is used to determine whether the variable’s value is either TRUE or FALSE?(a) boolean()(b) is_boolean()(c) bool()(d) is_bool()The question was posed to me during an interview for a job.The origin of the question is Object Basics-1 in chapter Objects and Databases in PHP of PHP

Answer»

The CORRECT ANSWER is (d) is_bool()

BEST EXPLANATION: NONE.



Discussion

No Comment Found

Related InterviewSolutions