MCQs > IT & Programming > PHP > What's the output? $values = array(0, NULL, FALSE); foreach($values as $key => $value) { echo isset($values[$key]) ? 'TRUE ' : 'FALSE '; }

PHP MCQs

What will be the output for the following code? $values = array(0, NULL, FALSE); foreach($values as $key => $value) { echo isset($values[$key]) ? "TRUE " : "FALSE "; }

Answer

Correct Answer: TRUE FALSE TRUE

Explanation:

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

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it