Lines Matching refs:php_optidx
56 PHPAPI int php_optidx = -1; variable
63 php_optidx = -1; in php_getopt()
103 php_optidx++; in php_getopt()
104 if (opts[php_optidx].opt_char == '-') { in php_getopt()
107 …else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg_e… in php_getopt()
114 arg_start += strlen(opts[php_optidx].opt_name); in php_getopt()
128 if (php_optidx < 0) { in php_getopt()
130 php_optidx++; in php_getopt()
131 if (opts[php_optidx].opt_char == '-') { in php_getopt()
143 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt()
148 if (opts[php_optidx].need_param) { in php_getopt()
156 if (opts[php_optidx].need_param == 1) { in php_getopt()
160 } else if (opts[php_optidx].need_param == 1) { in php_getopt()
171 return opts[php_optidx].opt_char; in php_getopt()
185 return opts[php_optidx].opt_char; in php_getopt()