For command-line option definition and parsing, don't forget about the beauty of getopt().
There's a php-native version (http://php.net/getopt) and a PEAR package -- Console_GetOpt (http://pear.php.net/package/Console_Getopt).
For command-line option definition and parsing, don't forget about the beauty of getopt().
There's a php-native version (http://php.net/getopt) and a PEAR package -- Console_GetOpt (http://pear.php.net/package/Console_Getopt).