function preg_replace_with_error( mixed $pattern, mixed $replacement, mixed $subject, inout ?int $error, int $limit = -1, ): mixed;
mixed $pattern
mixed $replacement
mixed $subject
inout ?int $error
int $limit = -1
mixed