Lines Matching refs:php_optind
135 static int php_optind = 1; variable
1727 int orig_optind = php_optind;
1826 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1…
1881 php_optind = orig_optind;
2245 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1…
2287 php_optind = orig_optind;
2304 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2413 SG(request_info).argc = argc - (php_optind - 1);
2414 SG(request_info).argv = &argv[php_optind - 1];
2416 } else if (argc > php_optind) {
2419 SG(request_info).path_translated = estrdup(argv[php_optind]);
2421 SG(request_info).argc = argc - php_optind;
2422 SG(request_info).argv = &argv[php_optind];
2439 if (!SG(request_info).query_string && argc > php_optind) {
2442 for (i = php_optind; i < argc; i++) {
2453 for (i = php_optind; i < argc; i++) {
2601 php_optind = orig_optind;