Php Interview Questions & Answers: part1



Php Interview QUESTIONS AND ANSWERS :: part1 : 6 to 10

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

6.What will be the output of the following PHP code?

1
Error
1234
2

7.Which of the following is/are a PHP code editor? i) Notepad ii) Notepad++ iii) Adobe Dreamweaver iv) PDT

Only iv)
All of the mentioned.
i), ii) and iii)
Only iii)

8.What will be the output of the following PHP code?

a
Error
$var
r

9.Which of the following php statement/statements will store 111 in variable num? i) int $num = 111; ii) int mum = 111; iii) $num = 111; iv) 111 = $num;

Both i) and ii)
All of the mentioned.
Only iii)
Only i)

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

3
1+2
Error
12

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