preg_grep_with_error

function preg_grep_with_error(
  string $pattern,
  varray_or_darray $input,
  inout ?int $error,
  int $flags = 0,
): mixed;

Parameters

  • string $pattern
  • varray_or_darray $input
  • inout ?int $error
  • int $flags = 0

Returns

  • mixed