Re: getopt()
| From: | Sascha Schumann | Date: | Mon, 27 Dec 1999 20:31:29 +0000 |
| Subject: | Re: getopt() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-14066@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.
--
Regards,
Sascha Schumann
Consultant