Question from the PHP - Fundamentals test

How to count the number of occurences of a pattern in a string in PHP

Hard

What does the function preg_match_all($pattern, $str) ?

Author: ThéoStatus: PublishedQuestion passed 1533 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!