Lines Matching refs:php_optind
601 int php_optind = 1, orig_optind = 1; in do_cli() local
617 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
657 php_optind = orig_optind; in do_cli()
659 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
843 argc > php_optind && context.mode != PHP_CLI_MODE_CLI_DIRECT && in do_cli()
845 strcmp(argv[php_optind-1],"--") in do_cli()
862 if (argc > php_optind in do_cli()
866 && strcmp(argv[php_optind - 1],"--")) in do_cli()
868 script_file = argv[php_optind]; in do_cli()
869 php_optind++; in do_cli()
898 SG(request_info).argc = argc - php_optind + 1; in do_cli()
899 arg_excp = argv + php_optind - 1; in do_cli()
900 arg_free = argv[php_optind - 1]; in do_cli()
902 argv[php_optind - 1] = php_self; in do_cli()
903 SG(request_info).argv = argv + php_optind - 1; in do_cli()
1116 if (context.mode == PHP_CLI_MODE_LINT && argc > php_optind && strcmp(argv[php_optind], "--")) { in do_cli()
1157 int php_optind = 1, use_extended_info = 0; in WinMain() local
1223 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()