Lines Matching refs:php_optidx
53 PHPAPI int php_optidx = -1; variable
61 php_optidx = -1; in php_getopt()
108 php_optidx++; in php_getopt()
109 if (opts[php_optidx].opt_char == '-') { in php_getopt()
112 …else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg_e… in php_getopt()
119 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
133 if (php_optidx < 0) { in php_getopt()
135 php_optidx++; in php_getopt()
136 if (opts[php_optidx].opt_char == '-') { in php_getopt()
148 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt()
153 if (opts[php_optidx].need_param) { in php_getopt()
161 if (opts[php_optidx].need_param == 1) { in php_getopt()
165 } else if (opts[php_optidx].need_param == 1) { in php_getopt()
176 return opts[php_optidx].opt_char; in php_getopt()
190 return opts[php_optidx].opt_char; in php_getopt()