preg_match_with_matches

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

Parameters

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

Returns

  • int