Dear candidates you will find MCQ questions of PHP here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
Q. What does PHP stand for? 1. Personal Home Page 2. Hypertext Preprocessor 3. Pretext Hypertext Processor 4. Preprocessor Home Page
Q. PHP files have a default file extension of_______.
Q. Which of the following is/are a PHP code editor? 1. Notepad 2. Notepad++ 3. Adobe Dreamweaver 4. PDT
Q. Which of the following must be installed on your computer so as to run PHP script? 1. Adobe Dreamweaver 2. PHP 3. Apache 4. IIS
Q. Which version of PHP introduced Try/catch Exception?
Q. We can use _________ to comment a single line? 1. /? 2. // 3. # 4. /* */
Q. Which of the following php statement/statements will store 111 in variable num? 1. int $num = 111; 2. int mum = 111; 3. $num = 111; 4. 111 = $num;
Q. What will be the output of the following php code?
<?php $num = 1; $num1 = 2; print $num . "+". $num1; ?>
Don't have account? Register here.