Universeorange.com/Docs/

R3m/framework Function reference preg.match.all

{preg.match.all(String $pattern, String $subject, String $match_attribute=null, String $flags=PREG_PATTERN_ORDER, Int $offset=0)}

Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by flags.

After the first match is found, the subsequent searches are continued on from end of the last match.

match_attribute the name of the variable where the result is stored.

Flags:

Returns the number of full pattern matches (which might be zero), or false if an error occurred.

More information:

https://www.php.net/manual/en/function.preg-match-all.php

Last modified: 2021-06-07

© 2021 universeorange.com