Lines Matching refs:argc
601 static int do_cli(int argc, char **argv) /* {{{ */ in do_cli() argument
625 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
635 EG(exit_status) = (c == '?' && argc > 1 && !strchr(argv[1], c)); in do_cli()
688 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
868 argc > php_optind && behavior!=PHP_MODE_CLI_DIRECT && in do_cli()
887 if (argc > php_optind in do_cli()
923 SG(request_info).argc=argc-php_optind+1; in do_cli()
947 for (i = 1; i < argc; i++) { in do_cli()
1160 int main(int argc, char *argv[]) in WinMain()
1165 int argc = __argc; in WinMain() local
1188 argv = save_ps_args(argc, argv); in WinMain()
1244 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()
1319 PHP_WIN32_CP_W_TO_ANY_ARRAY(argv_wide, num_args, argv, argc) in WinMain()
1334 exit_status = do_cli(argc, argv); in WinMain()
1337 exit_status = do_cli_server(argc, argv); in WinMain()
1360 PHP_WIN32_CP_FREE_ARRAY(argv, argc); in WinMain()