Is there a PHP standard at to expected option handling from command-line argument list?
I look at PHP getopt(), and it is not enough for me. I do not like that I have to use a single character to define each option, because I prefer a single more discriptive word instead for each option.
However, not to displease the PHP community when creating a command-line utility, I want to know if...
- Is getopt() the standard?
- Must I begin each option with a dash(-) ?
- Must I use a single character to define an option?
- What is the expected delimiter when an option is provided multiple values? Some use semicolons, for example foo.php has an option "bar" with three values "a, b, & c": "foo.php -bar:a;b;c"
Jeff in Seattle