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

/PHP_5_5/sapi/cgi/
H A Dcgi_main.c133 static char *php_optarg = NULL; variable
1741 char *orig_optarg = php_optarg;
1833 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1839 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1846 int len = strlen(php_optarg);
1849 if ((val = strchr(php_optarg, '='))) {
1853 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1854 ini_entries_len += (val - php_optarg);
1857 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_5_5/sapi/cli/
H A Dphp_cli.c667 char *php_optarg = NULL, *orig_optarg = NULL; local
682 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
735 php_optarg = orig_optarg;
736 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
765 script_file = php_optarg;
776 script_file = php_optarg;
811 exec_direct=php_optarg;
825 exec_run=php_optarg;
839 exec_begin=php_optarg;
853 exec_end=php_optarg;
1213 char *php_optarg = NULL; local
[all...]
H A Dphp_cli_server.c2517 char *php_optarg = NULL; local
2526 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2529 server_bind_address = php_optarg;
2532 document_root = php_optarg;
/PHP_5_5/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_5/ext/standard/
H A Dbasic_functions.c4246 char *php_optarg = NULL; local
4370 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4388 if (php_optarg != NULL) {
4390 ZVAL_STRING(val, php_optarg, 1);
4420 php_optarg = NULL;

Completed in 21 milliseconds