1.

What will be the output of the following PHP code ?
<?php
$arr = array("Hello", "Interview", "Mania");
foreach ($arr as $val)
{
if (count($arr) == 2)
print $val;
}
?>

A. Nothing
B. Error
C. HelloInterviewMania
D. InterviewHelloMania
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs