Home
last modified time | relevance | path

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

/PHP-7.1/sapi/cli/
H A Dphp_cli.c669 int php_optind = 1, orig_optind = 1; in do_cli() local
745 php_optind = orig_optind; in do_cli()
923 if (argc > php_optind in do_cli()
927 && strcmp(argv[php_optind-1],"--")) in do_cli()
929 script_file=argv[php_optind]; in do_cli()
930 php_optind++; in do_cli()
957 SG(request_info).argc=argc-php_optind+1; in do_cli()
958 arg_excp = argv+php_optind-1; in do_cli()
959 arg_free = argv[php_optind-1]; in do_cli()
962 SG(request_info).argv=argv+php_optind-1; in do_cli()
[all …]
H A Dphp_cli_server.c2554 int php_optind = 1; in do_cli_server() local
2566 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) { in do_cli_server()
2618 if (argc > php_optind) { in do_cli_server()
2619 router = argv[php_optind]; in do_cli_server()
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c137 static int php_optind = 1; variable
1805 int orig_optind = php_optind;
1959 php_optind = orig_optind;
2348 php_optind = orig_optind;
2475 SG(request_info).argv = &argv[php_optind - 1];
2477 } else if (argc > php_optind) {
2482 SG(request_info).argc = argc - php_optind;
2483 SG(request_info).argv = &argv[php_optind];
2503 for (i = php_optind; i < argc; i++) {
2514 for (i = php_optind; i < argc; i++) {
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg.c1385 int php_optind, opt, show_banner = 1; in main() local
1451 php_optind = 1; in main()
1459 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main()
1610 if (!read_from_stdin && argc > php_optind) { in main()
1611 if (!exec && strlen(argv[php_optind])) { in main()
1612 exec = strdup(argv[php_optind]); in main()
1614 php_optind++; in main()
1802 SG(request_info).argc = argc - php_optind + 1; in main()
1805 SG(request_info).argv[i] = estrdup(argv[php_optind - 1 + i]); in main()
2204 php_getopt(-1, argv, OPTIONS, NULL, &php_optind, 0, 0); in main()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c141 static int php_optind = 1; variable
1577 int orig_optind = php_optind;
1634 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1787 if (argc != php_optind) {
1799 php_optind = orig_optind;
/PHP-7.1/ext/standard/
H A Dbasic_functions.c4334 int php_optind = 1; local
4439 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4493 ZVAL_LONG(zoptind, php_optind);

Completed in 48 milliseconds