Console_Getopt pear.php.net Command-line option parser This is a PHP implementation of "getopt" supporting both short and long options. Andrei Zmievski andrei andrei@php.net no Stig Bakken ssb stig@php.net no Greg Beaver cellog cellog@php.net no 2019-02-06 1.4.2 1.4.0 stable stable BSD-2-Clause * Remove use of each(), which is removed in PHP 8 PEAR pear.php.net 1.4.0 1.999.999 5.4.0 1.8.0 2019-02-06 1.4.2 1.4.0 stable stable BSD-2-Clause * Remove use of each(), which is removed in PHP 8 2015-07-20 1.4.1 1.4.0 stable stable BSD-2-Clause * Fix unit test on PHP 7 [cweiske] 2015-02-22 1.4.0 1.4.0 stable stable BSD-2-Clause * Change license to BSD-2-Clause * Set minimum PHP version to 5.4.0 * Mark static methods with "static" keyword 2011-03-07 1.3.1 1.3.0 stable stable PHP License * Change the minimum PEAR installer dep to be lower 2010-12-11 1.3.0 1.3.0 stable stable PHP License * Implement Request #13140: [PATCH] to skip unknown parameters. [patch by rquadling, improved on by dufuz] 2007-06-12 1.2.3 1.2.1 stable stable PHP License * fix Bug #11068: No way to read plain "-" option [cardoe] 1.2.2 1.2.1 stable stable 2007-02-17 PHP License * fix Bug #4475: An ambiguous error occurred when specifying similar longoption name. * fix Bug #10055: Not failing properly on short options missing required values 1.2.1 1.2.1 stable stable 2006-12-08 PHP License Fixed bugs #4448 (Long parameter values truncated with longoption parameter) and #7444 (Trailing spaces after php closing tag) 1.2 1.2 stable stable 2003-12-11 PHP License Fix to preserve BC with 1.0 and allow correct behaviour for new users 1.0 1.0 stable stable 2002-09-13 PHP License Stable release 0.11 0.11 beta beta 2002-05-26 PHP License POSIX getopt compatibility fix: treat first element of args array as command name 0.10 0.10 beta beta 2002-05-12 PHP License Packaging fix 0.9 0.9 beta beta 2002-05-12 PHP License Initial release