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

/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1019 char *php_optarg; local
1074 php_optarg = NULL;
1083 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1095 ini_override = strdup(php_optarg);
1098 int len = strlen(php_optarg);
1101 if ((val = strchr(php_optarg, '='))) {
1105 memcpy(ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1106 ini_entries_len += (val - php_optarg);
1109 memcpy(ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c132 static char *php_optarg = NULL; variable
1713 char *orig_optarg = php_optarg;
1807 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1813 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1820 size_t len = strlen(php_optarg);
1823 if ((val = strchr(php_optarg, '='))) {
1827 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1828 ini_entries_len += (val - php_optarg);
1831 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c653 char *php_optarg = NULL, *orig_optarg = NULL; local
667 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
720 php_optarg = orig_optarg;
721 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
750 script_file = php_optarg;
761 script_file = php_optarg;
786 exec_direct=php_optarg;
800 exec_run=php_optarg;
814 exec_begin=php_optarg;
828 exec_end=php_optarg;
1168 char *php_optarg = NULL; local
[all...]
H A Dphp_cli_server.c2442 char *php_optarg = NULL; local
2451 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2454 server_bind_address = php_optarg;
2457 document_root = php_optarg;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c140 static char *php_optarg = NULL; variable
1509 char *orig_optarg = php_optarg;
1559 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1565 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1574 int len = strlen(php_optarg);
1577 if ((val = strchr(php_optarg, '='))) {
1581 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1582 ini_entries_len += (val - php_optarg);
1585 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4230 char *php_optarg = NULL; local
4329 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4346 if (php_optarg != NULL) {
4348 ZVAL_STRING(&val, php_optarg);
4378 php_optarg = NULL;

Completed in 30 milliseconds