getopt_with_optind

function getopt_with_optind(
  string $options,
  ?vec<string> $longopts,
  inout int $optind,
): dict<string, mixed>;

Parameters

  • string $options
  • ?vec<string> $longopts
  • inout int $optind

Returns

  • dict<string, mixed>