PHP Multiple Choice Question and Answers. PHP Objective Questions and Answers. PHP Quiz for freshers and interview preparations.

PHP MCQ Questions and Answers Quiz

1. What does PHP stand for?

  1. Hypertext Preprocessor
  2. Personal Home Page
  3. Preprocessor Home Page
  4. Pretext Hypertext Processor

2. Who is the father of PHP Scripting Language?

  1. Willam Makepiece
  2. List Barely
  3. Rasmus Lerdorf
  4. Drek Kolkevi

3. What is the default file extension of PHP programming files

  1. .txt
  2. .html
  3. ..php
  4. .ph

4. Which of the looping statements is/are supported by PHP?

  1. for loop
  2. while loop
  3. foreach loop
  4. do-while loop

5. Which of the following must be installed on your computer so as to run PHP script? i) Adobe Dreamweaver ii) PHP iii) Apache iv) IIS

  1. All of the mentioned
  2. Only (ii)
  3. (ii) and (iii)
  4. (ii), (iii) and (iv)

6. Which version of PHP introduced Try/catch Exception?

  1. PHP 4
  2. PHP 5
  3. PHP 5.3
  4. PHP 6

MCQ Multiple Choice Questions and Answers on PHP

PHP Question and Answer