πŸ“Š PHP
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Which One

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70228
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ravi Chauhan
Publisher
πŸ“ˆ
94%
Success Rate