1.

How many functions does PHP offer for searching strings using POSIX style regular expression?(a) 7(b) 8(c) 9(d) 10I have been asked this question in an online interview.My query is from Strings and Regular Expressions in portion Strings and Regular Expressions of PHP

Answer»

The correct OPTION is (a) 7

The EXPLANATION is: EREG(), ereg_replace(), eregi(), eregi_replace(), split(), spliti(), and sql_regcase() are the functions offered.



Discussion

No Comment Found

Related InterviewSolutions