Loading, please wait...

PHP MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

11. Output is

< ?php 
int $one = 1;
echo "$one";
?>
A. 0
  • one
  • 1
  • $one
  • Error

12. Which of the below statements is equivalent to $add += $add?

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

13. Which scope is not supported by Php

  • friendly
  • public
  • static
  • final

14. Father of Php is

  • List Barely
  • Willam Makepiece
  • Rasmus Lerdorf
  • None of the above

15. The loops supported by Php

  • for loop
  • while loop
  • foreach loop
  • All of the above