Re: getopt()

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: getopt()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-14067@lists.php.net to get a copy of this message
> On Mon, Dec 27, 1999 at 10:52:39PM +0200, Zeev Suraski wrote: > > Does anybody happen to know whether it can be called more than once? > > Running twice through the argument list cannot work, because > getopt() maintains a static position indicator. There is no > way to reset the internal variables. I thought optind was the position indicator and that is an extern

« previous php.dev (#14067) next »