1--TEST-- 2getopt#009 (optind #4) 3--ARGS-- 4messup -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(1) 16