Lines Matching refs:php_optind
610 int php_optind = 1, orig_optind = 1; in do_cli() local
622 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
685 php_optind = orig_optind; in do_cli()
687 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
860 argc > php_optind && behavior!=PHP_MODE_CLI_DIRECT && in do_cli()
862 strcmp(argv[php_optind-1],"--") in do_cli()
877 if (argc > php_optind in do_cli()
881 && strcmp(argv[php_optind-1],"--")) in do_cli()
883 script_file=argv[php_optind]; in do_cli()
884 php_optind++; in do_cli()
907 SG(request_info).argc=argc-php_optind+1; in do_cli()
908 arg_excp = argv+php_optind-1; in do_cli()
909 arg_free = argv[php_optind-1]; in do_cli()
911 argv[php_optind-1] = (char*)file_handle.filename; in do_cli()
912 SG(request_info).argv=argv+php_optind-1; in do_cli()
1147 int php_optind = 1, use_extended_info = 0; in WinMain() local
1212 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()