1--TEST--
2getopt#005 (Required values)
3--ARGS--
4--arg value --arg=value -avalue -a=value -a value
5--INI--
6register_argc_argv=On
7variables_order=GPS
8--FILE--
9<?php
10	var_dump(getopt("a:", array("arg:")));
11?>
12--EXPECT--
13array(2) {
14  ["arg"]=>
15  array(2) {
16    [0]=>
17    string(5) "value"
18    [1]=>
19    string(5) "value"
20  }
21  ["a"]=>
22  array(3) {
23    [0]=>
24    string(5) "value"
25    [1]=>
26    string(5) "value"
27    [2]=>
28    string(5) "value"
29  }
30}
31
32
33