preg_match_all

function call:
int preg_match_all( string $pattern, string $subject, array &$matches [, int $flags [, int $offset]] )

description:
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.

test preg_match_all online:
$pattern

$subject

$matches
This variable is only used internal.
$flags

$offset


Werbung
Information
PHP-Version: 5.2.6
Last changes: my blog (german only)
Change language: preg_match_all auf Deutsch online testen