Lines Matching refs:php_optind
598 int php_optind = 1, orig_optind = 1; in do_cli() local
614 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
654 php_optind = orig_optind; in do_cli()
656 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
840 argc > php_optind && context.mode != PHP_CLI_MODE_CLI_DIRECT && in do_cli()
842 strcmp(argv[php_optind-1],"--") in do_cli()
859 if (argc > php_optind in do_cli()
863 && strcmp(argv[php_optind - 1],"--")) in do_cli()
865 script_file = argv[php_optind]; in do_cli()
866 php_optind++; in do_cli()
895 SG(request_info).argc = argc - php_optind + 1; in do_cli()
896 arg_excp = argv + php_optind - 1; in do_cli()
897 arg_free = argv[php_optind - 1]; in do_cli()
899 argv[php_optind - 1] = php_self; in do_cli()
900 SG(request_info).argv = argv + php_optind - 1; in do_cli()
1113 if (context.mode == PHP_CLI_MODE_LINT && argc > php_optind && strcmp(argv[php_optind], "--")) { in do_cli()
1154 int php_optind = 1, use_extended_info = 0; in WinMain() local
1220 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()