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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c141 static int php_optind = 1; variable
1554 int orig_optind = php_optind;
1609 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1762 if (argc != php_optind) {
1774 php_optind = orig_optind;
/PHP_TRUNK/sapi/cli/
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];
H A Dphp_cli.c658 int php_optind = 1, orig_optind = 1; local
671 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
723 php_optind = orig_optind;
725 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
901 if (argc > php_optind
905 && strcmp(argv[php_optind-1],"--"))
907 script_file=argv[php_optind];
908 php_optind++;
935 SG(request_info).argc=argc-php_optind+1;
936 arg_excp = argv+php_optind
1173 int php_optind = 1, use_extended_info = 0; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c137 static int php_optind = 1; variable
1722 int orig_optind = php_optind;
1819 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1874 php_optind = orig_optind;
2085 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2118 php_optind = orig_optind;
2135 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2244 SG(request_info).argc = argc - (php_optind - 1);
2245 SG(request_info).argv = &argv[php_optind - 1];
2247 } else if (argc > php_optind) {
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1305 int php_optind, opt, show_banner = 1; local
1366 php_optind = 1;
1373 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1537 if (argc > php_optind && (strcmp(argv[php_optind-1], "--") != SUCCESS)) {
1538 if (!exec && strlen(argv[php_optind])) {
1539 exec = strdup(argv[php_optind]);
1541 php_optind++;
1687 SG(request_info).argc = argc - php_optind + 1;
1690 SG(request_info).argv[i] = estrdup(argv[php_optind
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4255 int php_optind = 1; local
4353 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {

Completed in 27 milliseconds