From: Ilia Alshanetsky Date: Thu, 12 Dec 2002 18:51:02 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.0RC4~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7df75cd38f59c31a3bd7a70731c02bd5d4111883;p=php MFH --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 242342deb6..154af12f62 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1509,9 +1509,6 @@ PHP_FUNCTION(getopt) /* Disable getopt()'s error messages. */ opterr = 0; - /* reset option parser position */ - optind = 0; - /* Invoke getopt(3) on the argument array. */ #ifdef HARTMUT_0 while ((o = getopt_long(argc, argv, options, longopts, &longindex)) != -1) {