Php Interview Questions & Answers: part3



Php Interview QUESTIONS AND ANSWERS :: part3 : 1 to 5

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

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

Error
0
42
84

2.Which of the following PHP functions can be used to get the current memory usage?

get_usage()
get_peak_usage()
get_memory_usage()
get_memory_peak_usage()

3.Which one of the following PHP functions can be used to find files?

glob()
file()
fold()
get_file()

4.A function in PHP which starts with __ (double underscore) is know as..

Magic Function
Inbuilt Function
Default Function
User Defined Function

5.Which of the following are valid function names? i) function() ii) €() iii) .function() iv) $function()

Only ii)
None of the mentioned.
All of the mentioned.
iii) and iv)

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
Identify your problems but give your power and energy to solutions- Tony Robbins