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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c134 static int php_optind = 1; variable
1738 int orig_optind = php_optind;
1832 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1887 php_optind = orig_optind;
2094 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2127 php_optind = orig_optind;
2144 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...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c652 int php_optind = 1, orig_optind = 1; local
666 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
718 php_optind = orig_optind;
720 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
906 if (argc > php_optind
910 && strcmp(argv[php_optind-1],"--"))
912 script_file=argv[php_optind];
913 php_optind++;
940 SG(request_info).argc=argc-php_optind+1;
941 arg_excp = argv+php_optind
1192 int php_optind = 1, use_extended_info = 0; local
[all...]
H A Dphp_cli_server.c2470 int php_optind = 1; local
2478 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2514 if (argc > php_optind) {
2515 router = argv[php_optind];
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c140 static int php_optind = 1; variable
1565 int orig_optind = php_optind;
1616 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1769 if (argc != php_optind) {
1781 php_optind = orig_optind;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c927 int php_optind, opt, show_banner = 1; local
1019 php_optind = 1;
1025 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1171 if ((argc > php_optind) && (strcmp(argv[php_optind-1],"--") != SUCCESS))
1173 exec_len = strlen(argv[php_optind]);
1178 exec = strdup(argv[php_optind]);
1180 php_optind++;
1283 SG(request_info).argc = argc - php_optind + 1;
1286 SG(request_info).argv[i] = estrdup(argv[php_optind
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4225 int php_optind = 1; local
4323 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {

Completed in 26 milliseconds