Lines Matching refs:php_optidx
56 PHPAPI int php_optidx = -1; variable
64 php_optidx = -1; in php_getopt()
111 php_optidx++; in php_getopt()
112 if (opts[php_optidx].opt_char == '-') { in php_getopt()
115 …else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg_e… in php_getopt()
122 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
136 if (php_optidx < 0) { in php_getopt()
138 php_optidx++; in php_getopt()
139 if (opts[php_optidx].opt_char == '-') { in php_getopt()
151 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt()
156 if (opts[php_optidx].need_param) { in php_getopt()
164 if (opts[php_optidx].need_param == 1) { in php_getopt()
168 } else if (opts[php_optidx].need_param == 1) { in php_getopt()
179 return opts[php_optidx].opt_char; in php_getopt()
193 return opts[php_optidx].opt_char; in php_getopt()