optind 4682 ext/standard/basic_functions.c optind = 1; optind 40 regex/main.c extern int optind; optind 73 regex/main.c if (optind >= argc) { optind 78 regex/main.c err = regcomp(&re, argv[optind++], copts); optind 87 regex/main.c if (optind >= argc) { optind 94 regex/main.c subs[0].rm_eo = strlen(argv[optind]) - endoff; optind 96 regex/main.c err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); optind 108 regex/main.c argv[optind] + subs[0].rm_so); optind 111 regex/main.c argv[optind] + subs[0].rm_so); optind 117 regex/main.c argv[optind] + subs[i].rm_so); optind 63 sapi/cgi/getopt.c if (*optind >= argc) { optind 67 sapi/cgi/getopt.c if ((argv[*optind][0] != '-')) { optind 70 sapi/cgi/getopt.c if (!argv[*optind][1]) optind 80 sapi/cgi/getopt.c if ((argv[*optind][0] == '-') && (argv[*optind][1] == '-')) { optind 82 sapi/cgi/getopt.c if (argv[*optind][2] == '\0') { optind 83 sapi/cgi/getopt.c (*optind)++; optind 90 sapi/cgi/getopt.c (*optind)++; optind 91 sapi/cgi/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 92 sapi/cgi/getopt.c } else if (opts[opts_idx].opt_name && !strcmp(&argv[*optind][2], opts[opts_idx].opt_name)) { optind 105 sapi/cgi/getopt.c if (argv[*optind][optchr] == ':') { optind 107 sapi/cgi/getopt.c (*optind)++; optind 108 sapi/cgi/getopt.c return (php_opt_error(argc, argv, *optind-1, optchr, OPTERRCOLON, show_err)); optind 116 sapi/cgi/getopt.c int errind = *optind; optind 119 sapi/cgi/getopt.c if (!argv[*optind][optchr+1]) { optind 121 sapi/cgi/getopt.c (*optind)++; optind 127 sapi/cgi/getopt.c } else if (argv[*optind][optchr] == opts[opts_idx].opt_char) { optind 136 sapi/cgi/getopt.c if(!argv[*optind][arg_start]) { optind 137 sapi/cgi/getopt.c (*optind)++; optind 138 sapi/cgi/getopt.c if (*optind == argc) { optind 139 sapi/cgi/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 141 sapi/cgi/getopt.c *optarg = argv[(*optind)++]; optind 143 sapi/cgi/getopt.c *optarg = &argv[*optind][arg_start]; optind 144 sapi/cgi/getopt.c (*optind)++; optind 149 sapi/cgi/getopt.c if (arg_start >= 2 && !((argv[*optind][0] == '-') && (argv[*optind][1] == '-'))) { optind 150 sapi/cgi/getopt.c if (!argv[*optind][optchr+1]) optind 153 sapi/cgi/getopt.c (*optind)++; optind 158 sapi/cgi/getopt.c (*optind)++; optind 64 sapi/cli/getopt.c if (*optind >= argc) { optind 68 sapi/cli/getopt.c if ((argv[*optind][0] != '-')) { optind 71 sapi/cli/getopt.c if (!argv[*optind][1]) optind 81 sapi/cli/getopt.c if ((argv[*optind][0] == '-') && (argv[*optind][1] == '-')) { optind 83 sapi/cli/getopt.c if (argv[*optind][2] == '\0') { optind 84 sapi/cli/getopt.c (*optind)++; optind 91 sapi/cli/getopt.c (*optind)++; optind 92 sapi/cli/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 93 sapi/cli/getopt.c } else if (opts[opts_idx].opt_name && !strcmp(&argv[*optind][2], opts[opts_idx].opt_name)) { optind 106 sapi/cli/getopt.c if (argv[*optind][optchr] == ':') { optind 108 sapi/cli/getopt.c (*optind)++; optind 109 sapi/cli/getopt.c return (php_opt_error(argc, argv, *optind-1, optchr, OPTERRCOLON, show_err)); optind 117 sapi/cli/getopt.c int errind = *optind; optind 120 sapi/cli/getopt.c if (!argv[*optind][optchr+1]) { optind 122 sapi/cli/getopt.c (*optind)++; optind 128 sapi/cli/getopt.c } else if (argv[*optind][optchr] == opts[opts_idx].opt_char) { optind 137 sapi/cli/getopt.c if(!argv[*optind][arg_start]) { optind 138 sapi/cli/getopt.c (*optind)++; optind 139 sapi/cli/getopt.c if (*optind == argc) { optind 140 sapi/cli/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 142 sapi/cli/getopt.c *optarg = argv[(*optind)++]; optind 144 sapi/cli/getopt.c *optarg = &argv[*optind][arg_start]; optind 145 sapi/cli/getopt.c (*optind)++; optind 150 sapi/cli/getopt.c if (arg_start >= 2 && !((argv[*optind][0] == '-') && (argv[*optind][1] == '-'))) { optind 151 sapi/cli/getopt.c if (!argv[*optind][optchr+1]) optind 154 sapi/cli/getopt.c (*optind)++; optind 159 sapi/cli/getopt.c (*optind)++;