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

/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/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...]
/PHP_TRUNK/sapi/cli/
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
608 sapi_cli_server_register_variable(track_vars_array, key, *entry);
610 sapi_cli_server_register_variable(track_vars_array, real_key, *entry);
619 static void sapi_cli_server_register_variables(zval *track_vars_array) /* {{{ */ argument
622 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root);
631 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr);
632 sapi_cli_server_register_variable(track_vars_array, "REMOTE_PORT", port);
634 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADD
[all...]
H A Dphp_cli.c345 static void sapi_cli_register_variables(zval *track_vars_array) /* {{{ */ argument
353 php_import_environment_variables(track_vars_array);
358 php_register_variable("PHP_SELF", php_self, track_vars_array);
361 php_register_variable("SCRIPT_NAME", php_self, track_vars_array);
366 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array);
369 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array);
374 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array);
/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/cgi/
H A Dcgi_main.c641 static void sapi_cgi_register_variables(zval *track_vars_array) argument
649 php_import_environment_variables(track_vars_array);
693 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
702 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
/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.c590 static void sapi_cgi_register_variables(zval *track_vars_array) /* {{{ */ argument
599 php_import_environment_variables(track_vars_array);
620 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
627 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
/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/phpdbg/
H A Dphpdbg.c851 static void php_sapi_phpdbg_register_vars(zval *track_vars_array) /* {{{ */ argument
858 php_import_environment_variables(track_vars_array);
863 php_register_variable("PHP_SELF", PHPDBG_G(exec), track_vars_array);
866 php_register_variable("SCRIPT_NAME", PHPDBG_G(exec), track_vars_array);
870 php_register_variable("SCRIPT_FILENAME", PHPDBG_G(exec), track_vars_array);
873 php_register_variable("PATH_TRANSLATED", PHPDBG_G(exec), track_vars_array);
880 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array);

Completed in 29 milliseconds