Searched refs:php_optind (Results 1 - 5 of 5) sorted by relevance

/PHP_5_4/sapi/cgi/
H A Dcgi_main.c134 static int php_optind = 1; variable
1741 int orig_optind = php_optind;
1834 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1889 php_optind = orig_optind;
2092 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
2117 php_optind = orig_optind;
2135 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2251 SG(request_info).argc = argc - (php_optind - 1);
2252 SG(request_info).argv = &argv[php_optind - 1];
2254 } else if (argc > php_optind) {
[all...]
/PHP_5_4/sapi/cli/
H A Dphp_cli.c663 int php_optind = 1, orig_optind = 1; local
677 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
729 php_optind = orig_optind;
731 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
919 if (argc > php_optind
923 && strcmp(argv[php_optind-1],"--"))
925 script_file=argv[php_optind];
926 php_optind++;
953 SG(request_info).argc=argc-php_optind+1;
954 arg_excp = argv+php_optind
1208 int php_optind = 1, use_extended_info = 0; local
[all...]
H A Dphp_cli_server.c2386 int php_optind = 1; local
2394 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2430 if (argc > php_optind) {
2431 router = argv[php_optind];
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c140 static int php_optind = 1; variable
1554 int orig_optind = php_optind;
1604 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1753 if (argc != php_optind) {
1765 php_optind = orig_optind;
/PHP_5_4/ext/standard/
H A Dbasic_functions.c4195 int php_optind = 1; local
4318 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {

Completed in 52 milliseconds