Php Interview Questions & Answers: part9



Php Interview QUESTIONS AND ANSWERS :: part9 : 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.Which one of the following regular expression matches any string containing zero or one p?

p+
p*
P?
p#

2.How many types of filtering are present in PHP? #122. How many types of filtering are present in PHP?

3
2
4
None

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

FALSE
TRUE
NULL
ERROR

4.Which one of the following does not describe a validating filter?

Are used to allow or disallow specified characters in a string
Are used to validate user input
Strict format rules
Returns the expected type on success or FALSE on failure

5.PHP has long supported two regular expression implementations known as ___ and ___. i) Perl ii) PEAR iii) Pearl iv) POSIX

i) and ii)
ii) and iv)
i) and iv)
ii) and iii)

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
Too many of us are not living our dreams because we are living our fears.- Les Brown