Searched defs:track_vars_array (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c657 static void sapi_nsapi_register_server_variables(zval *track_vars_array) argument
669 php_register_variable((char *)nsapi_reqpb[i].env_var, value, track_vars_array);
690 php_register_variable(value, entry->param->value, track_vars_array);
700 php_register_variable((char *)nsapi_vars[i].env_var, value, track_vars_array);
707 php_register_variable((char *)nsapi_client[i].env_var, value, track_vars_array);
712 php_register_variable("REMOTE_HOST", value, track_vars_array);
717 php_register_variable("SERVER_PORT", buf, track_vars_array);
718 php_register_variable("SERVER_NAME", conf_getglobals()->Vserver_hostname, track_vars_array);
721 php_register_variable("SERVER_URL", value, track_vars_array);
724 php_register_variable("SERVER_SOFTWARE", system_version(), track_vars_array);
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c307 static void sapi_lsapi_register_variables(zval *track_vars_array) argument
314 litespeed_php_import_environment_variables(track_vars_array);
316 LSAPI_ForeachHeader( add_variable, track_vars_array );
317 LSAPI_ForeachEnv( add_variable, track_vars_array );
318 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
320 php_import_environment_variables(track_vars_array);
322 php_register_variable("PHP_SELF", php_self, track_vars_array);
323 php_register_variable("SCRIPT_NAME", php_self, track_vars_array);
324 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array);
325 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array);
[all...]
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c102 static void php_embed_register_variables(zval *track_vars_array) argument
104 php_import_environment_variables(track_vars_array);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c627 static void sapi_cgi_register_variables(zval *track_vars_array) argument
635 php_import_environment_variables(track_vars_array);
679 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
688 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c341 static void sapi_cli_register_variables(zval *track_vars_array) /* {{{ */ argument
349 php_import_environment_variables(track_vars_array);
354 php_register_variable("PHP_SELF", php_self, track_vars_array);
357 php_register_variable("SCRIPT_NAME", php_self, track_vars_array);
362 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array);
365 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array);
370 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array);
H A Dphp_cli_server.c579 static void sapi_cli_server_register_variable(zval *track_vars_array, const char *key, const char *val) /* {{{ */ argument
589 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array);
594 zval *track_vars_array = va_arg(args, zval *); local
607 sapi_cli_server_register_variable(track_vars_array, real_key, *entry);
616 static void sapi_cli_server_register_variables(zval *track_vars_array) /* {{{ */ argument
619 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root);
628 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr);
629 sapi_cli_server_register_variable(track_vars_array, "REMOTE_PORT", port);
631 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str);
637 sapi_cli_server_register_variable(track_vars_array, "SERVER_SOFTWAR
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c2068 zval *track_vars_array = NULL; local
2074 track_vars_array = NULL;
2075 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/", &encstr, &encstr_len, &track_vars_array) == FAILURE) {
2079 if (track_vars_array != NULL) {
2081 zval_dtor(track_vars_array);
2082 array_init(track_vars_array);
2096 if (track_vars_array != NULL) {
2097 detected = _php_mb_encoding_handler_ex(&info, track_vars_array, encstr);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c270 php_apache_sapi_register_variables(zval *track_vars_array) argument
282 php_register_variable_safe(key, val, new_val_len, track_vars_array);
287 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c576 static void php_sapi_phpdbg_register_vars(zval *track_vars_array) /* {{{ */ argument
583 php_import_environment_variables(track_vars_array);
588 php_register_variable("PHP_SELF", PHPDBG_G(exec), track_vars_array);
591 php_register_variable("SCRIPT_NAME", PHPDBG_G(exec), track_vars_array);
595 php_register_variable("SCRIPT_FILENAME", PHPDBG_G(exec), track_vars_array);
598 php_register_variable("PATH_TRANSLATED", PHPDBG_G(exec), track_vars_array);
605 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c563 static void sapi_cgi_register_variables(zval *track_vars_array) argument
572 php_import_environment_variables(track_vars_array);
593 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
600 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
/PHP_TRUNK/main/
H A Drfc1867.c62 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection);
165 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection) /* {{{ */ argument
168 php_register_variable_safe(var, strval, val_len, track_vars_array);
173 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection) /* {{{ */ argument
176 php_register_variable_ex(var, val, track_vars_array);
H A Dphp_variables.c40 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array) argument
42 php_register_variable_safe(var, strval, strlen(strval), track_vars_array);
46 PHPAPI void php_register_variable_safe(char *var, char *strval, size_t str_len, zval *track_vars_array) argument
53 php_register_variable_ex(var, &new_entry, track_vars_array);
56 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array) argument
70 if (track_vars_array && Z_TYPE_P(track_vars_array) == IS_ARRAY) {
71 symtable1 = Z_ARRVAL_P(track_vars_array);
134 if (track_vars_array) {
135 ht = Z_ARRVAL_P(track_vars_array);
527 php_build_argv(char *s, zval *track_vars_array) argument
[all...]

Completed in 36 milliseconds