Lines Matching refs:php_optind
610 int php_optind = 1, orig_optind = 1; in do_cli() local
626 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
687 php_optind = orig_optind; in do_cli()
689 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
869 argc > php_optind && behavior!=PHP_MODE_CLI_DIRECT && in do_cli()
871 strcmp(argv[php_optind-1],"--") in do_cli()
888 if (argc > php_optind in do_cli()
892 && strcmp(argv[php_optind-1],"--")) in do_cli()
894 script_file=argv[php_optind]; in do_cli()
895 php_optind++; in do_cli()
924 SG(request_info).argc=argc-php_optind+1; in do_cli()
925 arg_excp = argv+php_optind-1; in do_cli()
926 arg_free = argv[php_optind-1]; in do_cli()
928 argv[php_optind-1] = php_self; in do_cli()
929 SG(request_info).argv=argv+php_optind-1; in do_cli()
1177 int php_optind = 1, use_extended_info = 0; in WinMain() local
1242 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()