uhhhh you got any examples?
:-)
All my test code so far is pretty busted. I must be missing something as I just don't see how to associate the argument with the right flag.
ie. ./test.php -a foo -b bar
if i check argv, argv[1] gets -a argv[2] gets foor etc...this would mean that everything would have to be in the right order to work (at least according to my limited mind ;-). What if someone passed ./test.php -b bar -a foo? My scripts would fail. I'm just not understanding how the flag and it's argument are grouped. :-(