Practicing for If-Else-If of Web Design & Development

Questions 1 of 20
  • Q. What will be the output of the following PHP code?
      < ? php
      $x = 10;
      $y = 20;
      if ($x > $y + $y)
       print "Hello" ;
      else
       print "World";
      ?>