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 

21. A function starts with double score is know as

  • User defined Function
  • Inbuilt Function
  • Default Function
  • Magic function

22. Which is used to check that variable is present in the array or not?

  • array()
  • is_check()
  • is_array()
  • None of the above

23. In which Version type hinting was introduced

  • php 6
  • php 5
  • php 4
  • php 1

24. Find out the output

< ?php 
$foo = 'Bob';              
$bar = &$foo;              
$bar = "My name is $bar";  
echo $bar;
echo $foo;
?>
  • Bob
  • My name is Bob
  • My name is BobMy name is Bob
  • My name is

25. Which function is used to find the files in Php

  • files()
  • glob()
  • find()
  • ff_find()