Home
last modified time | relevance | path

Searched refs:php_optind (Results 1 – 6 of 6) sorted by relevance

/PHP-8.1/sapi/cli/
H A Dphp_cli.c610 int php_optind = 1, orig_optind = 1; in do_cli() local
687 php_optind = orig_optind; 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()
[all …]
H A Dphp_cli_server.c2700 int php_optind = 1; in do_cli_server() local
2712 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) { in do_cli_server()
2769 if (argc > php_optind) { in do_cli_server()
2770 router = argv[php_optind]; in do_cli_server()
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c135 static int php_optind = 1; variable
1727 int orig_optind = php_optind;
1881 php_optind = orig_optind;
2287 php_optind = orig_optind;
2414 SG(request_info).argv = &argv[php_optind - 1];
2416 } else if (argc > php_optind) {
2421 SG(request_info).argc = argc - php_optind;
2422 SG(request_info).argv = &argv[php_optind];
2442 for (i = php_optind; i < argc; i++) {
2453 for (i = php_optind; i < argc; i++) {
[all …]
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg.c1133 int php_optind, opt, show_banner = 1; in main() local
1184 php_optind = 1; in main()
1192 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main()
1315 if (!read_from_stdin && argc > php_optind) { in main()
1316 if (!exec && strlen(argv[php_optind])) { in main()
1317 exec = strdup(argv[php_optind]); in main()
1319 php_optind++; in main()
1490 SG(request_info).argc = argc - php_optind + 1; in main()
1493 SG(request_info).argv[i] = estrdup(argv[php_optind - 1 + i]); in main()
1810 php_getopt(-1, argv, OPTIONS, NULL, &php_optind, 0, 0); in main()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_main.c120 static int php_optind = 1; variable
1538 int orig_optind = php_optind; in main()
1589 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main()
1743 if (argc != php_optind) { in main()
1755 php_optind = orig_optind; in main()
/PHP-8.1/ext/standard/
H A Dbasic_functions.c1029 int php_optind = 1; local
1138 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
1192 ZEND_TRY_ASSIGN_REF_LONG(zoptind, php_optind);

Completed in 47 milliseconds