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

/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c2065 zval *track_vars_array = NULL; local
2071 track_vars_array = NULL;
2072 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/", &encstr, &encstr_len, &track_vars_array) == FAILURE) {
2076 if (track_vars_array != NULL) {
2078 zval_dtor(track_vars_array);
2079 array_init(track_vars_array);
2093 if (track_vars_array != NULL) {
2094 detected = _php_mb_encoding_handler_ex(&info, track_vars_array, encstr);
/PHP_TRUNK/main/
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);
522 php_build_argv(char *s, zval *track_vars_array) argument
[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);
164 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection) /* {{{ */ argument
167 php_register_variable_safe(var, strval, val_len, track_vars_array);
172 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection) /* {{{ */ argument
175 php_register_variable_ex(var, val, track_vars_array);
/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c298 php_register_variable(name, buf, track_vars_array)
304 php_ns_sapi_register_variables(zval *track_vars_array) argument
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c254 static void sapi_apache_register_server_variables(zval *track_vars_array) argument
274 php_register_variable_safe(elts[i].key, val, new_val_len, track_vars_array);
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);
291 php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array);
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c228 php_apache_sapi_register_variables(zval *track_vars_array) argument
240 php_register_variable_safe(key, val, new_val_len, track_vars_array);
244 php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array);
246 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c271 php_apache_sapi_register_variables(zval *track_vars_array) argument
283 php_register_variable_safe(key, val, new_val_len, track_vars_array);
288 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array);
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c384 static void sapi_apache_register_server_variables(zval *track_vars_array) argument
400 php_register_variable(elts[i].key, val, track_vars_array );
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);
415 php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array);
/PHP_TRUNK/sapi/caudium/
H A Dcaudium.c480 INLINE static void low_sapi_caudium_register_variables(zval *track_vars_array) argument
490 track_vars_array);
492 track_vars_array);
495 track_vars_array);
497 track_vars_array);
499 track_vars_array);
511 track_vars_array );
517 static void sapi_caudium_register_variables(zval *track_vars_array) argument
519 THREAD_SAFE_RUN(low_sapi_caudium_register_variables(track_vars_array), "register_variables");
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c678 static void sapi_cgi_register_variables(zval *track_vars_array) argument
686 php_import_environment_variables(track_vars_array);
730 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
739 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c343 static void sapi_cli_register_variables(zval *track_vars_array) /* {{{ */ argument
351 php_import_environment_variables(track_vars_array);
356 php_register_variable("PHP_SELF", php_self, track_vars_array);
359 php_register_variable("SCRIPT_NAME", php_self, track_vars_array);
364 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array);
367 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array);
372 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array);
H A Dphp_cli_server.c637 static void sapi_cli_server_register_variable(zval *track_vars_array, const char *key, const char *val) /* {{{ */ argument
642 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array);
647 zval *track_vars_array = va_arg(args, zval *); local
660 sapi_cli_server_register_variable(track_vars_array, real_key, *entry);
669 static void sapi_cli_server_register_variables(zval *track_vars_array) /* {{{ */ argument
672 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root);
681 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr);
682 sapi_cli_server_register_variable(track_vars_array, "REMOTE_PORT", port);
684 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str);
690 sapi_cli_server_register_variable(track_vars_array, "SERVER_SOFTWAR
[all...]
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c233 static void sapi_capi_register_server_variables(zval * track_vars_array) argument
243 php_register_variable("PHP_SELF", value, track_vars_array);
244 php_register_variable("REQUEST_URI", value, track_vars_array);
250 php_register_variable("COUNTRY_CODE", value, track_vars_array);
255 php_register_variable("argv", value, track_vars_array);
258 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array);
263 php_register_variable("HTTP_HOST", value, track_vars_array);
265 php_register_variable("SERVER_NAME", value, track_vars_array);
270 php_register_variable("SERVER_SOFTWARE", value, track_vars_array);
275 php_register_variable("SERVER_PROTOCOL", value, 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/fpm/fpm/
H A Dfpm_main.c609 static void sapi_cgi_register_variables(zval *track_vars_array) argument
617 php_import_environment_variables(track_vars_array);
638 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
645 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
/PHP_TRUNK/sapi/isapi/
H A Dphp7isapi.c381 static void sapi_isapi_register_zeus_ssl_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array) argument
399 php_register_variable( "SSL_CLIENT_DN", static_cons_buf, track_vars_array );
411 php_register_variable( "SSL_CLIENT_I_DN", static_cons_buf, track_vars_array );
414 static void sapi_isapi_register_zeus_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array) argument
433 php_register_variable( "PHP_SELF", static_variable_buf, track_vars_array );
437 php_register_variable( "PATH_INFO", static_variable_buf + scriptname_len - 1, track_vars_array );
445 php_register_variable( "URL", static_variable_buf, track_vars_array );
446 php_register_variable( "REQUEST_URI", static_variable_buf, track_vars_array );
454 php_register_variable( "PATH_TRANSLATED", static_variable_buf, track_vars_array );
460 php_register_variable( "PHP_AUTH_USER", static_variable_buf, track_vars_array );
484 sapi_isapi_register_iis_variables(LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array) argument
562 sapi_isapi_register_server_variables2(char **server_variables, LPEXTENSION_CONTROL_BLOCK lpECB, zval *track_vars_array, char **recorded_values) argument
596 sapi_isapi_register_server_variables(zval *track_vars_array) argument
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c330 static void sapi_lsapi_register_variables(zval *track_vars_array) argument
337 litespeed_php_import_environment_variables(track_vars_array);
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);
355 php_register_variable("PHP_SELF", php_self, track_vars_array);
[all...]
/PHP_TRUNK/sapi/milter/
H A Dphp_milter.c856 static void sapi_milter_register_variables(zval *track_vars_array) argument
858 php_register_variable ("SERVER_SOFTWARE", "Sendmail Milter", track_vars_array);
/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/phpdbg/
H A Dphpdbg.c567 static void php_sapi_phpdbg_register_vars(zval *track_vars_array) /* {{{ */ argument
574 php_import_environment_variables(track_vars_array);
579 php_register_variable("PHP_SELF", PHPDBG_G(exec), track_vars_array);
582 php_register_variable("SCRIPT_NAME", PHPDBG_G(exec), track_vars_array);
586 php_register_variable("SCRIPT_FILENAME", PHPDBG_G(exec), track_vars_array);
589 php_register_variable("PATH_TRANSLATED", PHPDBG_G(exec), track_vars_array);
596 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array);
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c280 static void sapi_pi3web_register_variables(zval *track_vars_array) argument
299 php_register_variable(pKey, static_variable_buf, track_vars_array);
303 php_register_variable(pKey, variable_buf, track_vars_array);
315 php_register_variable("PHP_SELF", static_variable_buf, track_vars_array);
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c269 php_register_variable(name, buf, track_vars_array)
272 static void sapi_thttpd_register_variables(zval *track_vars_array) argument
277 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array);
278 php_register_variable("SERVER_SOFTWARE", SERVER_SOFTWARE, track_vars_array);
279 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array);
280 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array);
281 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array);
282 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array);
285 php_register_variable("SERVER_PROTOCOL", "HTTP/1.1", track_vars_array);
287 php_register_variable("SERVER_PROTOCOL", "HTTP/1.0", track_vars_array);
[all...]
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c185 php_register_variable(name, buf, track_vars_array)
187 static void sapi_tux_register_variables(zval *track_vars_array) argument
197 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array);
198 php_register_variable("SERVER_SOFTWARE", TUXAPI_version, track_vars_array);
199 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array);
200 php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array);
201 php_register_variable("DOCUMENT_ROOT", TUXAPI_docroot, track_vars_array);
202 php_register_variable("SERVER_NAME", TUXAPI_servername, track_vars_array);
203 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array);
204 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array);
[all...]
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c104 php_register_variable(name, string, track_vars_array)
108 php_register_variable(name, buf, track_vars_array);\
113 php_register_variable(name, WG(conn)->field, track_vars_array); \
116 static void sapi_webjames_register_variables(zval *track_vars_array) argument

Completed in 51 milliseconds