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 

6. Index array postion starts with

  • 0
  • 1
  • -1
  • 2

7. Which symbol is used as new line character

  • |n
  • \n
  • %n
  • /n

8. How we closed the php scripts

  • <php. . . .>
  • <?php. . . >
  • <?php . . . ?>
  • <p. . . p>

9. Output of the following code is

< ?php echo $red ; ?>
  • red
  • Nothing
  • Error
  • 0

10. Which function is used to sort the array in descending order

  • rsort()
  • dsort()
  • asort()
  • sort()