1--TEST--
2getopt#008 (optind #3)
3--ARGS--
4-a 1 -b 2
5--INI--
6register_argc_argv=On
7variables_order=GPS
8--FILE--
9<?php
10    $optind = null;
11    getopt('a:b:', [], $optind);
12    var_dump($optind);
13?>
14--EXPECT--
15int(5)
16