Beta
PHP function getopt() has 2 arguments:

&options required
[$opts] optional

Full syntax: getopt(&options, [$opts])

See PHP documentation: http://php.net/getopt

Share the knowledge your way

Please wait while checking