Hi, the patch below allows long option names such as "--version" and "--help" what eases the use of php especially when used on the command line. And it fixes the problem with duplicate error messages if arguments to command line are erroneous.
http://marcus-boerger/php/ext/cli-getopt.diff.txt -- ---------------------------------------------------------------------- Marcus Börger - Looking for all sorts of freelance work - just ask... Did i help you? Consider a gift: http://www.amazon.de/exec/obidos/wishlist/ho722v0rg1u0 ---------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php