Function

preg_match_all

Synopsis

preg_match_all(string, string, &$ref, mixed, mixed): mixed

Area
Runtime\PS\Compat\preg_match_allareas

Description

preg_match_all fills $matches with every match of $pattern in $subject and returns the count, in PREG_PATTERN_ORDER unless $flags selects PREG_SET_ORDER, optionally starting at byte $offset; a pattern that does not compile returns false and leaves $matches alone.

Usage

$value = preg_match_all($arguments);
$fn = preg_match_all(...);

See also