MCQs > IT & Programming > PHP > What is the output? try { $a = 10/0; echo $a; } catch (Exception $e) { echo 'You cannot divide by ZERO!!'; }

PHP MCQs

What is the output of the following code? try { $a = 10/0; echo $a; } catch (Exception $e) { echo 'You cannot divide by ZERO!!'; }

Answer

Correct Answer: Warning: Division by zero

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