Lines Matching refs:php_optind
135 static int php_optind = 1; variable
1727 int orig_optind = php_optind;
1815 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1…
1870 php_optind = orig_optind;
2235 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1…
2277 php_optind = orig_optind;
2294 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2403 SG(request_info).argc = argc - (php_optind - 1);
2404 SG(request_info).argv = &argv[php_optind - 1];
2406 } else if (argc > php_optind) {
2409 SG(request_info).path_translated = estrdup(argv[php_optind]);
2411 SG(request_info).argc = argc - php_optind;
2412 SG(request_info).argv = &argv[php_optind];
2429 if (!SG(request_info).query_string && argc > php_optind) {
2432 for (i = php_optind; i < argc; i++) {
2443 for (i = php_optind; i < argc; i++) {
2598 php_optind = orig_optind;