Searched refs:php_optind (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c2380 int php_optind = 1; local
2388 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2424 if (argc > php_optind) {
2425 router = argv[php_optind];
H A Dphp_cli.c667 int php_optind = 1, orig_optind = 1; local
681 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
733 php_optind = orig_optind;
735 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
923 if (argc > php_optind
927 && strcmp(argv[php_optind-1],"--"))
929 script_file=argv[php_optind];
930 php_optind++;
957 SG(request_info).argc=argc-php_optind+1;
958 arg_excp = argv+php_optind
1213 int php_optind = 1, use_extended_info = 0; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c134 static int php_optind = 1; variable
1740 int orig_optind = php_optind;
1833 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1888 php_optind = orig_optind;
2091 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2116 php_optind = orig_optind;
2134 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2250 SG(request_info).argc = argc - (php_optind - 1);
2251 SG(request_info).argv = &argv[php_optind - 1];
2253 } else if (argc > php_optind) {
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c140 static int php_optind = 1; variable
1554 int orig_optind = php_optind;
1604 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1753 if (argc != php_optind) {
1765 php_optind = orig_optind;
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4247 int php_optind = 1; local
4370 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {

Completed in 22 milliseconds