preg_replace_with_count_and_error

function preg_replace_with_count_and_error(
  mixed $pattern,
  mixed $replacement,
  mixed $subject,
  int $limit,
  inout ?int $count,
  inout ?int $error,
): mixed;

Parameters

  • mixed $pattern
  • mixed $replacement
  • mixed $subject
  • int $limit
  • inout ?int $count
  • inout ?int $error

Returns

  • mixed