which of the following is correct about preg_match() function?

PHP - Online Exam Test Papers | PHP - MCQs[multiple choice questions and answers ] | PHP - Mock Test Papers | PHP - Practice Papers | PHP - Sample Test Papers |

Question:
which of the following is correct about preg_match() function?

1.The preg_match() function is used to search specified string by string, returns true if the pattern found otherwise false.

2.The preg_match() function searches throughout string specified by pattern for a string specified by string. The search is not case sensitive.

3.The preg_match() function searches sting for pattern, returning true if pattern exist otherwise false.

4.None of above

Posted Date:-2021-08-04 01:28:49


More MCQS Questions and answers