Lines Matching refs:php_optind
135 static int php_optind = 1; variable
1727 int orig_optind = php_optind;
1836 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1…
1891 php_optind = orig_optind;
2256 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1…
2298 php_optind = orig_optind;
2315 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2424 SG(request_info).argc = argc - (php_optind - 1);
2425 SG(request_info).argv = &argv[php_optind - 1];
2427 } else if (argc > php_optind) {
2430 SG(request_info).path_translated = estrdup(argv[php_optind]);
2432 SG(request_info).argc = argc - php_optind;
2433 SG(request_info).argv = &argv[php_optind];
2450 if (!SG(request_info).query_string && argc > php_optind) {
2453 for (i = php_optind; i < argc; i++) {
2464 for (i = php_optind; i < argc; i++) {
2612 php_optind = orig_optind;