A

Admin • 828.03K Points
Coach

Q. What will be the output of the following PHP program?

Code:
<?php
function multi($num)
{
if ($num == 3)
echo "I Wonder";
if ($num == 7)
echo "Which One";
if ($num == 8)
echo "Is The";
if ($num == 19)
echo "Correct Answer";
}
$can = stripos("I love php, I love php too!","PHP");
multi($can);
?>
  • (A) Correct Answer
  • (B) Is The
  • (C) I Wonder
  • (D) Which One
  • Correct Answer - Option(D)
  • Views: 7
  • Filed under category PHP
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.