MCQs > IT & Programming > PHP 5 > Output will be? $o = (object) array( var_dump(isset($o-> {'5'})); var_dump(key($o)); ?>

PHP 5 MCQs

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

$o = (object) array( var_dump(isset($o-> {'5'}));

var_dump(key($o));

?>

Answer

Correct Answer:

bool(false)

int(5)


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