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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c133 static int php_optind = 1; variable
1712 int orig_optind = php_optind;
1807 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1862 php_optind = orig_optind;
2069 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2102 php_optind = orig_optind;
2119 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2228 SG(request_info).argc = argc - (php_optind - 1);
2229 SG(request_info).argv = &argv[php_optind - 1];
2231 } else if (argc > php_optind) {
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c654 int php_optind = 1, orig_optind = 1; local
667 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
719 php_optind = orig_optind;
721 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
897 if (argc > php_optind
901 && strcmp(argv[php_optind-1],"--"))
903 script_file=argv[php_optind];
904 php_optind++;
931 SG(request_info).argc=argc-php_optind+1;
932 arg_excp = argv+php_optind
1169 int php_optind = 1, use_extended_info = 0; local
[all...]
H A Dphp_cli_server.c2443 int php_optind = 1; local
2451 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2487 if (argc > php_optind) {
2488 router = argv[php_optind];
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c141 static int php_optind = 1; variable
1508 int orig_optind = php_optind;
1559 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1712 if (argc != php_optind) {
1724 php_optind = orig_optind;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1022 int php_optind, opt, show_banner = 1; local
1078 php_optind = 1;
1086 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1248 if (!exec && (argc > php_optind) && (strcmp(argv[php_optind-1], "--") != SUCCESS)) {
1249 if (strlen(argv[php_optind])) {
1253 exec = strdup(argv[php_optind]);
1255 php_optind++;
1391 SG(request_info).argc = argc - php_optind + 1;
1394 SG(request_info).argv[i] = estrdup(argv[php_optind
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4234 int php_optind = 1; local
4332 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {

Completed in 25 milliseconds