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

/PHP_TRUNK/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.c2511 char *php_optarg = NULL; local
2520 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) {
2523 server_bind_address = php_optarg;
2526 document_root = php_optarg;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c139 static char *php_optarg = NULL; variable
1561 char *orig_optarg = php_optarg;
1611 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1617 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1626 int len = strlen(php_optarg);
1629 if ((val = strchr(php_optarg, '='))) {
1633 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1634 ini_entries_len += (val - php_optarg);
1637 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c133 static char *php_optarg = NULL; variable
1744 char *orig_optarg = php_optarg;
1836 while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1842 cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
1849 int len = strlen(php_optarg);
1852 if ((val = strchr(php_optarg, '='))) {
1856 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
1857 ini_entries_len += (val - php_optarg);
1860 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4202 char *php_optarg = NULL; local
4326 while ((o = php_getopt(argc, argv, opts, &php_optarg, &php_optind, 0, 1)) != -1) {
4344 if (php_optarg != NULL) {
4346 ZVAL_STRING(val, php_optarg, 1);
4376 php_optarg = NULL;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c837 char *php_optarg; local
929 php_optarg = NULL;
936 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
948 ini_override = strdup(php_optarg);
951 int len = strlen(php_optarg);
954 if ((val = strchr(php_optarg, '='))) {
958 memcpy(ini_entries + ini_entries_len, php_optarg, (val - php_optarg));
959 ini_entries_len += (val - php_optarg);
962 memcpy(ini_entries + ini_entries_len, val, len - (val - php_optarg));
[all...]

Completed in 23 milliseconds