preg_split_with_error

function preg_split_with_error(
  string $pattern,
  string $subject,
  inout ?int $error,
  mixed $limit = NULL,
  int $flags = 0,
): mixed;

Parameters

  • string $pattern
  • string $subject
  • inout ?int $error
  • mixed $limit = NULL
  • int $flags = 0

Returns

  • mixed