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

/PHP_5_3/ext/standard/
H A Dbasic_functions.c4255 char *php_optarg = NULL; local
4379 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4397 if (php_optarg != NULL) {
4399 ZVAL_STRING(val, php_optarg, 1);
4429 php_optarg = NULL;
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c132 static char *php_optarg = NULL; variable
1487 char *orig_optarg = php_optarg;
1578 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1584 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1591 int len = strlen(php_optarg);
1594 if ((val = strchr(php_optarg, '='))) {
1598 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1599 ini_entries_len += (val - php_optarg);
1602 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_5_3/sapi/cli/
H A Dphp_cli.c129 static char *php_optarg = NULL; variable
649 char *orig_optarg=php_optarg;
719 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
725 cli_sapi_module.php_ini_path_override = strdup(php_optarg);
732 int len = strlen(php_optarg);
735 if ((val = strchr(php_optarg, '='))) {
739 memcpy(cli_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
740 ini_entries_len += (val - php_optarg);
743 memcpy(cli_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c139 static char *php_optarg = NULL; variable
1556 char *orig_optarg = php_optarg;
1604 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1610 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1619 int len = strlen(php_optarg);
1622 if ((val = strchr(php_optarg, '='))) {
1626 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1627 ini_entries_len += (val - php_optarg);
1630 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]

Completed in 16 milliseconds