function preg_match_with_matches_and_error(
string $pattern,
string $subject,
inout mixed $matches,
inout ?int $error,
int $flags = 0,
int $offset = 0,
): int;
Parameters
string $pattern
string $subject
inout mixed $matches
inout ?int $error
int $flags = 0
int $offset = 0
Returns