From: Marcus Boerger Date: Sun, 27 Apr 2003 19:41:36 +0000 (+0000) Subject: Reset option parsing X-Git-Tag: SPL_ALPHA~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c1aa38ee582ae1b568cb8070d76ca03b997075c;p=php Reset option parsing # i swear i had them in before last commit --- diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index b9da7782bf..13f731f851 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -683,6 +683,8 @@ int main(int argc, char *argv[]) INI_HARDCODED("implicit_flush", "1"); INI_HARDCODED("max_execution_time", "0"); + optind = orig_optind; + optarg = orig_optarg; while ((c = php_getopt(argc, argv, OPTIONS, &optarg, &optind, 0)) != -1) { switch (c) {