Php Interview Questions & Answers: part2



Php Interview QUESTIONS AND ANSWERS :: part2 : 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.Which of the below symbols is a newline character?

\r
\n
/n
/r

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

get
true
false
clueget

13.Which of the below statements is equivalent to $add += $add ? #17. Which of the below statements is equivalent to $add += $add ?

$add = $add
$add = $add +$add
$add = $add + 1
$add = $add + $add + 1

14.Which of the conditional statements is/are supported by PHP? i) if statements ii) if-else statements iii) if-elseif statements iv) switch statements

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

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
If you are not willing to risk the usual you will have to settle for the ordinary- Jim Rohn