Loading, please wait...

PHP MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

26. Guess the output

 <?php
    echo chr(52);
    ?>
  • 1
  • 3
  • 4
  • 2

27. Which of the following send the data to URL

  • Post
  • Method
  • Both A and D
  • Get

28. Output is

<?php
    echo ord ("hi");
    ?>
  • 104
  • 162
  • 152
  • 192

29. Guess the output

< ?php 
$a = "clue";
$a .= "get";
echo "$a";
?>
  • get
  • clueget
  • clue
  • Nothing

30. Output is

<?php
    echo ucwords("i love my country");
    ?>
  • i love my country
  • I Love my country
  • I Love My Country
  • Error