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

/PHP_5_4/sapi/cgi/
H A Dcgi_main.c133 static char *php_optarg = NULL; variable
1742 char *orig_optarg = php_optarg;
1834 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1840 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1847 int len = strlen(php_optarg);
1850 if ((val = strchr(php_optarg, '='))) {
1854 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1855 ini_entries_len += (val - php_optarg);
1858 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_5_4/sapi/cli/
H A Dphp_cli.c662 char *php_optarg = NULL, *orig_optarg = NULL; local
677 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
730 php_optarg = orig_optarg;
731 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
760 script_file = php_optarg;
771 script_file = php_optarg;
806 exec_direct=php_optarg;
820 exec_run=php_optarg;
834 exec_begin=php_optarg;
848 exec_end=php_optarg;
1207 char *php_optarg = NULL; local
[all...]
H A Dphp_cli_server.c2386 char *php_optarg = NULL; local
2395 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2398 server_bind_address = php_optarg;
2401 document_root = php_optarg;
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c139 static char *php_optarg = NULL; variable
1555 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...]
/PHP_5_4/ext/standard/
H A Dbasic_functions.c4194 char *php_optarg = NULL; local
4318 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4336 if (php_optarg != NULL) {
4338 ZVAL_STRING(val, php_optarg, 1);
4368 php_optarg = NULL;

Completed in 38 milliseconds