MCQs > IT & Programming > PHP 5 > var_dump((bool) -1); var_dump((bool) 1.5e5); var_dump((bool) 'false'); ?>

PHP 5 MCQs

What will be the output of the following PHP 7.1 code?

var_dump((bool) -1);

var_dump((bool) 1.5e5);

var_dump((bool) "false");

?>


Answer

Correct Answer:

bool(true)

bool(true)

bool(true)


Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it