Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31482 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15663 invoked by uid 1010); 7 Aug 2007 21:05:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15648 invoked from network); 7 Aug 2007 21:05:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2007 21:05:28 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 83.243.58.163 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:35809] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/EB-39276-39ED8B64 for ; Tue, 07 Aug 2007 17:05:26 -0400 Received: (qmail 29785 invoked by uid 507); 7 Aug 2007 21:01:20 -0000 Received: from unknown (HELO ?192.168.1.102?) (postmaster%schlueters.de@82.135.71.124) by mail4.netbeat.de with ESMTPA; 7 Aug 2007 21:01:20 -0000 To: Stanislav Malyshev Cc: Marcus Boerger , Jani Taskinen , internals@lists.php.net, David Soria Parra In-Reply-To: <46B8CFC2.7030308@zend.com> References: <257742794.20070807142252@marcus-boerger.de> <46B8CFC2.7030308@zend.com> Content-Type: text/plain Date: Tue, 07 Aug 2007 23:01:13 +0200 Message-ID: <1186520473.2772.47.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-1.fc7) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] Getopt with longopts and windows support - part 2 From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Tue, 2007-08-07 at 13:02 -0700, Stanislav Malyshev wrote: > > David has a point here. So first of all we should move getopt > > implementation out of CLI/CGI and into main. Could you do that > > first Jani? > > Why one would need getopt outside of cgi/cli? I.e. where would these > options come from? Having the file in CLI as well as in CGI isn't good for maintaining it, therefore we should move it imo. johannes