preg_match_with_error

function preg_match_with_error(
  string $pattern,
  string $subject,
  inout ?int $error,
  int $flags = 0,
  int $offset = 0,
): int;

Parameters

  • string $pattern
  • string $subject
  • inout ?int $error
  • int $flags = 0
  • int $offset = 0

Returns

  • int