Php Interview Questions & Answers: part1



Php Interview QUESTIONS AND ANSWERS :: part1 : 11 to 15

Following PHP Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :

11.We can use ___ to comment a single line? i) /? ii) // iii) # iv) /* */

Only ii)
i), iii) and iv)
ii), iii) and iv)
Both ii) and iv)

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

PHP 4
PHP 5
PHP 5.3
PHP 6

13.A PHP script should start with ___ and end with ___:

< php >
< ? php ?>

14.What will be the output of the following php code?

3
1+2
1.+.2
Error

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
Too many of us are not living our dreams because we are living our fears.- Les Brown