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

/PHP_5_3/ext/standard/
H A Dbasic_functions.c4257 int php_optind = 1; local
4380 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c133 static int php_optind = 1; variable
1486 int orig_optind = php_optind;
1578 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1633 php_optind = orig_optind;
1827 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {
1851 php_optind = orig_optind;
1869 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1987 SG(request_info).argc = argc - (php_optind - 1);
1988 SG(request_info).argv = &argv[php_optind - 1];
1990 } else if (argc > php_optind) {
[all...]
/PHP_5_3/sapi/cli/
H A Dphp_cli.c130 static int php_optind = 1; variable
648 int orig_optind=php_optind;
719 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
763 php_optind = orig_optind;
785 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
854 php_optind = orig_optind;
856 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1044 if (argc > php_optind
1048 && strcmp(argv[php_optind-1],"--"))
1050 script_file=argv[php_optind];
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c140 static int php_optind = 1; variable
1555 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;

Completed in 18 milliseconds