Hi,
Is there an easy way (aka builtin function) to process commandline switches and arguments. For example, can might do this:
somefile.php -a "arg1" -b "arg2" -s "arg3 is this"
And php function would process this and return variables, say, VARa, VARb, VARs
I know once can do this in perl (using getopt) and also in Bshell.
Any hint, or code you have written will be helpful. Thanks !
Farzal