getopt
statamic/cms
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Gets options from the command line argument list
<?php getopt
(
string $short_options
, array
$long_options
= [],
int
&
$rest_index
=
null
): array|
false