1.

How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.(a) 7(b) 8(c) 9(d) 10This question was addressed to me in unit test.My doubt is from Strings and Regular Expressions topic in section Strings and Regular Expressions of PHP

Answer»

The CORRECT CHOICE is (b) 8

The EXPLANATION is: The functions are preg_filter(), preg_grep(), preg_match(), preg_match_all(), preg_quote(), preg_replace(), preg_replace_callback(), and preg_split().



Discussion

No Comment Found

Related InterviewSolutions