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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c140 static char *php_optarg = NULL; variable
1555 char *orig_optarg = php_optarg;
1609 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1615 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1624 int len = strlen(php_optarg);
1627 if ((val = strchr(php_optarg, '='))) {
1631 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1632 ini_entries_len += (val - php_optarg);
1635 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c2441 char *php_optarg = NULL; local
2450 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2453 server_bind_address = php_optarg;
2456 document_root = php_optarg;
H A Dphp_cli.c657 char *php_optarg = NULL, *orig_optarg = NULL; local
671 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
724 php_optarg = orig_optarg;
725 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
754 script_file = php_optarg;
765 script_file = php_optarg;
790 exec_direct=php_optarg;
804 exec_run=php_optarg;
818 exec_begin=php_optarg;
832 exec_end=php_optarg;
1172 char *php_optarg = NULL; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4252 char *php_optarg = NULL; local
4351 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4368 if (php_optarg != NULL) {
4370 ZVAL_STRING(&val, php_optarg);
4400 php_optarg = NULL;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c136 static char *php_optarg = NULL; variable
1723 char *orig_optarg = php_optarg;
1819 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1825 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1832 size_t len = strlen(php_optarg);
1835 if ((val = strchr(php_optarg, '='))) {
1839 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1840 ini_entries_len += (val - php_optarg);
1843 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1169 char *php_optarg; local
1225 php_optarg = NULL;
1233 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1247 ini_override = strdup(php_optarg);
1250 int len = strlen(php_optarg);
1253 if ((val = strchr(php_optarg, '='))) {
1257 memcpy(ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1258 ini_entries_len += (val - php_optarg);
1261 memcpy(ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]

Completed in 23 milliseconds