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

/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c656 int php_optind = 1, orig_optind = 1; local
670 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
722 php_optind = orig_optind;
724 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
910 if (argc > php_optind
914 && strcmp(argv[php_optind-1],"--"))
916 script_file=argv[php_optind];
917 php_optind++;
944 SG(request_info).argc=argc-php_optind+1;
945 arg_excp = argv+php_optind
1196 int php_optind = 1, use_extended_info = 0; local
[all...]
H A Dphp_cli_server.c2442 int php_optind = 1; local
2450 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2486 if (argc > php_optind) {
2487 router = argv[php_optind];
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1004 int php_optind, opt, show_banner = 1; local
1059 php_optind = 1;
1067 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1209 if (!exec && (argc > php_optind) && (strcmp(argv[php_optind-1], "--") != SUCCESS)) {
1210 if (strlen(argv[php_optind])) {
1214 exec = strdup(argv[php_optind]);
1216 php_optind++;
1352 SG(request_info).argc = argc - php_optind + 1;
1355 SG(request_info).argv[i] = estrdup(argv[php_optind
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4224 int php_optind = 1; local
4322 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c135 static int php_optind = 1; variable
1714 int orig_optind = php_optind;
1809 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1864 php_optind = orig_optind;
2071 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2104 php_optind = orig_optind;
2121 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2236 SG(request_info).argc = argc - (php_optind - 1);
2237 SG(request_info).argv = &argv[php_optind - 1];
2239 } else if (argc > php_optind) {
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c142 static int php_optind = 1; variable
1516 int orig_optind = php_optind;
1567 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1720 if (argc != php_optind) {
1732 php_optind = orig_optind;

Completed in 27 milliseconds