preg_match_all_with_matches

function preg_match_all_with_matches(
  string $pattern,
  string $subject,
  inout mixed $matches,
  int $flags = 0,
  int $offset = 0,
): mixed;

Parameters

  • string $pattern
  • string $subject
  • inout mixed $matches
  • int $flags = 0
  • int $offset = 0

Returns

  • mixed