Searched refs:php_optind (Results 1 – 6 of 6) sorted by relevance
/PHP-8.0/sapi/cli/ |
H A D | php_cli.c | 610 int php_optind = 1, orig_optind = 1; in do_cli() local 685 php_optind = orig_optind; in do_cli() 862 strcmp(argv[php_optind-1],"--") in do_cli() 877 if (argc > php_optind in do_cli() 881 && strcmp(argv[php_optind-1],"--")) in do_cli() 883 script_file=argv[php_optind]; in do_cli() 884 php_optind++; in do_cli() 907 SG(request_info).argc=argc-php_optind+1; in do_cli() 908 arg_excp = argv+php_optind-1; in do_cli() 909 arg_free = argv[php_optind-1]; in do_cli() [all …]
|
H A D | php_cli_server.c | 2685 int php_optind = 1; in do_cli_server() local 2697 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) { in do_cli_server() 2754 if (argc > php_optind) { in do_cli_server() 2755 router = argv[php_optind]; in do_cli_server()
|
/PHP-8.0/sapi/cgi/ |
H A D | cgi_main.c | 135 static int php_optind = 1; variable 1727 int orig_optind = php_optind; 1870 php_optind = orig_optind; 2277 php_optind = orig_optind; 2404 SG(request_info).argv = &argv[php_optind - 1]; 2406 } else if (argc > php_optind) { 2411 SG(request_info).argc = argc - php_optind; 2412 SG(request_info).argv = &argv[php_optind]; 2432 for (i = php_optind; i < argc; i++) { 2443 for (i = php_optind; i < argc; i++) { [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg.c | 1314 int php_optind, opt, show_banner = 1; in main() local 1383 php_optind = 1; in main() 1391 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main() 1542 if (!read_from_stdin && argc > php_optind) { in main() 1543 if (!exec && strlen(argv[php_optind])) { in main() 1544 exec = strdup(argv[php_optind]); in main() 1546 php_optind++; in main() 1738 SG(request_info).argc = argc - php_optind + 1; in main() 1741 SG(request_info).argv[i] = estrdup(argv[php_optind - 1 + i]); in main() 2144 php_getopt(-1, argv, OPTIONS, NULL, &php_optind, 0, 0); in main()
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 120 static int php_optind = 1; variable 1518 int orig_optind = php_optind; in main() 1570 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main() 1724 if (argc != php_optind) { in main() 1736 php_optind = orig_optind; in main()
|
/PHP-8.0/ext/standard/ |
H A D | basic_functions.c | 1035 int php_optind = 1; local 1144 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) { 1198 ZEND_TRY_ASSIGN_REF_LONG(zoptind, php_optind);
|
Completed in 44 milliseconds