What will be the output of the following PHP code ?
<?php
function test($int)
{
if ($int == 1)
echo "This Works";
if ($int == 2)
echo "This Too Seems To Work";
}
test(1);
TEST(2);
?>
- This Works
- This Too Seems To Work
- This WorksThis Too Seems To Work
- ERROR
(c).This WorksThis Too Seems To Work
need an explanation for this answer? contact us directly to get an explanation for this answer