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

/PHP_5_6/sapi/cli/
H A Dphp_cli.c668 int php_optind = 1, orig_optind = 1; local
682 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
734 php_optind = orig_optind;
736 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
924 if (argc > php_optind
928 && strcmp(argv[php_optind-1],"--"))
930 script_file=argv[php_optind];
931 php_optind++;
958 SG(request_info).argc=argc-php_optind+1;
959 arg_excp = argv+php_optind
1214 int php_optind = 1, use_extended_info = 0; local
[all...]
H A Dphp_cli_server.c2517 int php_optind = 1; local
2525 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2561 if (argc > php_optind) {
2562 router = argv[php_optind];
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_main.c140 static int php_optind = 1; variable
1576 int orig_optind = php_optind;
1627 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1780 if (argc != php_optind) {
1792 php_optind = orig_optind;
/PHP_5_6/ext/standard/
H A Dbasic_functions.c4218 int php_optind = 1; local
4341 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg.c973 int php_optind, opt, show_banner = 1; local
1065 php_optind = 1;
1071 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1217 if ((argc > php_optind) && (strcmp(argv[php_optind-1],"--") != SUCCESS))
1219 exec_len = strlen(argv[php_optind]);
1224 exec = strdup(argv[php_optind]);
1226 php_optind++;
1329 SG(request_info).argc = argc - php_optind + 1;
1332 SG(request_info).argv[i] = estrdup(argv[php_optind
[all...]
/PHP_5_6/sapi/cgi/
H A Dcgi_main.c134 static int php_optind = 1; variable
1745 int orig_optind = php_optind;
1838 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1893 php_optind = orig_optind;
2100 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2125 php_optind = orig_optind;
2143 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2259 SG(request_info).argc = argc - (php_optind - 1);
2260 SG(request_info).argv = &argv[php_optind - 1];
2262 } else if (argc > php_optind) {
[all...]

Completed in 25 milliseconds