Lines Matching refs:argc
616 static int do_cli(int argc, char **argv) /* {{{ */ in do_cli() argument
637 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
647 exit_status = (c == '?' && argc > 1 && !strchr(argv[1], c)); in do_cli()
702 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
875 argc > php_optind && behavior!=PHP_MODE_CLI_DIRECT && in do_cli()
892 if (argc > php_optind in do_cli()
922 SG(request_info).argc=argc-php_optind+1; in do_cli()
947 for (i = 1; i < argc; i++) { in do_cli()
1155 int main(int argc, char *argv[]) in WinMain()
1160 int argc = __argc; in WinMain() local
1184 argv = save_ps_args(argc, argv); in WinMain()
1235 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()
1345 PHP_WIN32_CP_W_TO_ANY_ARRAY(argv_wide, num_args, argv, argc) in WinMain()
1360 exit_status = do_cli(argc, argv); in WinMain()
1363 exit_status = do_cli_server(argc, argv); in WinMain()
1388 PHP_WIN32_CP_FREE_ARRAY(argv, argc); in WinMain()