Php Interview Questions & Answers: part10



Php Interview QUESTIONS AND ANSWERS :: part10 : 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.Which one of the following functions finds the last occurrence of a string, returning its numerical position?

strlastpos()
strpos()
strlast()
strrpos()

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

Contact the author of this article at nachiketh@ex@mple.com
Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com
Contact the author of this article at n@chiketh@ex@mple.com
Error

8.How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.

7
8
9
10

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

O’Malley Wins The Heavyweight Championship!
O’malley Wins The Heavyweight Championship!
O’Malley wins the heavyweight championship!
o’malley wins the heavyweight championship!

10.POSIX stands for #137. POSIX stands for

Portable Operating System Interface for Unix
Portable Operating System Interface for Linux
Portative Operating System Interface for Unix
Portative Operating System Interface for Linux

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
The only place where success comes before work is in the dictionary.- Vidal Sassoon