Searched refs:track_vars_array (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c2058 zval *track_vars_array = NULL; local
2064 track_vars_array = NULL;
2065 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/", &encstr, &encstr_len, &track_vars_array) == FAILURE) {
2069 if (track_vars_array != NULL) {
2071 zval_dtor(track_vars_array);
2072 array_init(track_vars_array);
2086 if (track_vars_array != NULL) {
2087 detected = _php_mb_encoding_handler_ex(&info, track_vars_array, encstr TSRMLS_CC);
/PHP_TRUNK/main/
H A DSAPI.h245 void (*register_server_variables)(zval *track_vars_array TSRMLS_DC);
H A Dphp_variables.h39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
41 PHPAPI void php_register_variable_safe(char *var, char *val, size_t val_len, zval *track_vars_array TSRMLS_DC);
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
H A Dphp_variables.c40 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array TSRMLS_DC)
42 php_register_variable_safe(var, strval, strlen(strval), track_vars_array TSRMLS_CC);
46 PHPAPI void php_register_variable_safe(char *var, char *strval, size_t str_len, zval *track_vars_array TSRMLS_DC)
53 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC);
56 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array TSRMLS_DC)
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);
[all...]
H A Drfc1867.c61 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC);
164 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
167 php_register_variable_safe(var, strval, val_len, track_vars_array TSRMLS_CC);
172 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
175 php_register_variable_ex(var, val, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c298 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
304 php_ns_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c233 static void sapi_capi_register_server_variables(zval * track_vars_array TSRMLS_DC)
243 php_register_variable("PHP_SELF", value, track_vars_array TSRMLS_CC);
244 php_register_variable("REQUEST_URI", value, track_vars_array TSRMLS_CC);
250 php_register_variable("COUNTRY_CODE", value, track_vars_array TSRMLS_CC);
255 php_register_variable("argv", value, track_vars_array TSRMLS_CC);
258 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
263 php_register_variable("HTTP_HOST", value, track_vars_array TSRMLS_CC);
265 php_register_variable("SERVER_NAME", value, track_vars_array TSRMLS_CC);
270 php_register_variable("SERVER_SOFTWARE", value, track_vars_array TSRMLS_CC);
275 php_register_variable("SERVER_PROTOCOL", value, track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c609 static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
617 php_import_environment_variables(track_vars_array TSRMLS_CC);
638 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
645 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c104 php_register_variable(name, string, track_vars_array TSRMLS_CC)
108 php_register_variable(name, buf, track_vars_array TSRMLS_CC);\
113 php_register_variable(name, WG(conn)->field, track_vars_array TSRMLS_CC); \
116 static void sapi_webjames_register_variables(zval *track_vars_array TSRMLS_DC)
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c254 static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_DC)
274 php_register_variable_safe(elts[i].key, val, new_val_len, track_vars_array TSRMLS_CC);
279 if (track_vars_array) {
280 symbol_table = Z_ARRVAL_P(track_vars_array);
287 php_register_variable("PATH_TRANSLATED", Z_STRVAL_P(path_translated), track_vars_array TSRMLS_CC);
291 php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c384 static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_DC)
400 php_register_variable(elts[i].key, val, track_vars_array TSRMLS_CC);
404 if (track_vars_array) {
405 symbol_table = track_vars_array->value.ht;
412 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC);
415 php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/caudium/
H A Dcaudium.c480 INLINE static void low_sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
490 track_vars_array TSRMLS_CC);
492 track_vars_array TSRMLS_CC);
495 track_vars_array TSRMLS_CC);
497 track_vars_array TSRMLS_CC);
499 track_vars_array TSRMLS_CC);
511 track_vars_array TSRMLS_CC );
517 static void sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
519 THREAD_SAFE_RUN(low_sapi_caudium_register_variables(track_vars_array TSRMLS_CC), "register_variables");
/PHP_TRUNK/sapi/isapi/
H A Dphp7isapi.c381 static void sapi_isapi_register_zeus_ssl_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC)
399 php_register_variable( "SSL_CLIENT_DN", static_cons_buf, track_vars_array TSRMLS_CC );
411 php_register_variable( "SSL_CLIENT_I_DN", static_cons_buf, track_vars_array TSRMLS_CC );
414 static void sapi_isapi_register_zeus_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array TSRMLS_DC)
433 php_register_variable( "PHP_SELF", static_variable_buf, track_vars_array TSRMLS_CC );
437 php_register_variable( "PATH_INFO", static_variable_buf + scriptname_len - 1, track_vars_array TSRMLS_CC );
445 php_register_variable( "URL", static_variable_buf, track_vars_array TSRMLS_CC );
446 php_register_variable( "REQUEST_URI", static_variable_buf, track_vars_array TSRMLS_CC );
454 php_register_variable( "PATH_TRANSLATED", static_variable_buf, track_vars_array TSRMLS_CC );
460 php_register_variable( "PHP_AUTH_USER", static_variable_buf, track_vars_array TSRMLS_C
562 sapi_isapi_register_server_variables2(char **server_variables, LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array, char **recorded_values TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c657 static void sapi_nsapi_register_server_variables(zval *track_vars_array TSRMLS_DC)
669 php_register_variable((char *)nsapi_reqpb[i].env_var, value, track_vars_array TSRMLS_CC);
690 php_register_variable(value, entry->param->value, track_vars_array TSRMLS_CC);
700 php_register_variable((char *)nsapi_vars[i].env_var, value, track_vars_array TSRMLS_CC);
707 php_register_variable((char *)nsapi_client[i].env_var, value, track_vars_array TSRMLS_CC);
712 php_register_variable("REMOTE_HOST", value, track_vars_array TSRMLS_CC);
717 php_register_variable("SERVER_PORT", buf, track_vars_array TSRMLS_CC);
718 php_register_variable("SERVER_NAME", conf_getglobals()->Vserver_hostname, track_vars_array TSRMLS_CC);
721 php_register_variable("SERVER_URL", value, track_vars_array TSRMLS_CC);
724 php_register_variable("SERVER_SOFTWARE", system_version(), track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c280 static void sapi_pi3web_register_variables(zval *track_vars_array TSRMLS_DC)
299 php_register_variable(pKey, static_variable_buf, track_vars_array TSRMLS_CC);
303 php_register_variable(pKey, variable_buf, track_vars_array TSRMLS_CC);
315 php_register_variable("PHP_SELF", static_variable_buf, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c228 php_apache_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
240 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
244 php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array TSRMLS_CC);
246 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c268 php_apache_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
280 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
285 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c269 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
272 static void sapi_thttpd_register_variables(zval *track_vars_array TSRMLS_DC)
277 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
278 php_register_variable("SERVER_SOFTWARE", SERVER_SOFTWARE, track_vars_array TSRMLS_CC);
279 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
280 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array TSRMLS_CC);
281 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
282 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
285 php_register_variable("SERVER_PROTOCOL", "HTTP/1.1", track_vars_array TSRMLS_CC);
287 php_register_variable("SERVER_PROTOCOL", "HTTP/1.0", track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c185 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
187 static void sapi_tux_register_variables(zval *track_vars_array TSRMLS_DC)
197 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
198 php_register_variable("SERVER_SOFTWARE", TUXAPI_version, track_vars_array TSRMLS_CC);
199 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);
200 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array TSRMLS_CC);
201 php_register_variable("DOCUMENT_ROOT", TUXAPI_docroot, track_vars_array TSRMLS_CC);
202 php_register_variable("SERVER_NAME", TUXAPI_servername, track_vars_array TSRMLS_CC);
203 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
204 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c339 static void sapi_cli_register_variables(zval *track_vars_array TSRMLS_DC) /* {{{ */
347 php_import_environment_variables(track_vars_array TSRMLS_CC);
352 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC);
355 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC);
360 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array TSRMLS_CC);
363 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array TSRMLS_CC);
368 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array TSRMLS_CC);
H A Dphp_cli_server.c637 static void sapi_cli_server_register_variable(zval *track_vars_array, const char *key, const char *val TSRMLS_DC) /* {{{ */ argument
642 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array TSRMLS_CC);
647 zval *track_vars_array = va_arg(args, zval *); local
660 sapi_cli_server_register_variable(track_vars_array, real_key, *entry TSRMLS_CC);
669 static void sapi_cli_server_register_variables(zval *track_vars_array TSRMLS_DC) /* {{{ */
672 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root TSRMLS_CC);
681 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr TSRMLS_CC);
682 sapi_cli_server_register_variable(track_vars_array, "REMOTE_PORT", port TSRMLS_CC);
684 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str TSRMLS_CC);
690 sapi_cli_server_register_variable(track_vars_array, "SERVER_SOFTWAR
[all...]
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c98 static void php_embed_register_variables(zval *track_vars_array TSRMLS_DC)
100 php_import_environment_variables(track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c330 static void sapi_lsapi_register_variables(zval *track_vars_array TSRMLS_DC)
337 litespeed_php_import_environment_variables(track_vars_array TSRMLS_CC);
342 LSAPI_ForeachHeader( add_variable, track_vars_array );
343 LSAPI_ForeachEnv( add_variable, track_vars_array );
344 add_variable("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
347 LSAPI_ForeachHeader( add_variable_magic_quote, track_vars_array );
348 LSAPI_ForeachEnv( add_variable_magic_quote, track_vars_array );
349 add_variable_magic_quote("PHP_SELF", 8, php_self, strlen( php_self ), track_vars_array );
353 php_import_environment_variables(track_vars_array TSRMLS_CC);
355 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_C
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c664 static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
672 php_import_environment_variables(track_vars_array TSRMLS_CC);
716 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
725 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c569 static void php_sapi_phpdbg_register_vars(zval *track_vars_array TSRMLS_DC) /* {{{ */
576 php_import_environment_variables(track_vars_array TSRMLS_CC);
581 php_register_variable("PHP_SELF", PHPDBG_G(exec), track_vars_array TSRMLS_CC);
584 php_register_variable("SCRIPT_NAME", PHPDBG_G(exec), track_vars_array TSRMLS_CC);
588 php_register_variable("SCRIPT_FILENAME", PHPDBG_G(exec), track_vars_array TSRMLS_CC);
591 php_register_variable("PATH_TRANSLATED", PHPDBG_G(exec), track_vars_array TSRMLS_CC);
598 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array TSRMLS_CC);

Completed in 46 milliseconds

12