Php Interview Questions & Answers: part3



Php Interview QUESTIONS AND ANSWERS :: part3 : 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?

Error.
$msg
0
will this work

7.Which one of the following PHP functions can be used to build a function that accepts any number of arguments?

func_get_argv()
func_get_argc()
get_argv()
get_argc()

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

helloblabla
Error
hello
helloblablablabla

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

I am b
I am bI am a
Error
I am a Error

10.Which one of the following functions can be used to compress a string?

zip_compress()
zip()
compress()
gzcompress()

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
Failure defeats losers, failure inspires winners.-Robert T. Kiyosaki