Lines Matching refs:http_globals

219 			if (PG(http_globals)[TRACK_VARS_COOKIE] &&  in php_register_variable_ex()
220 symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex()
297 if (PG(http_globals)[TRACK_VARS_POST]) { in SAPI_TREAT_DATA_FUNC() local
298 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]); in SAPI_TREAT_DATA_FUNC()
300 PG(http_globals)[TRACK_VARS_POST] = array_ptr; in SAPI_TREAT_DATA_FUNC() local
303 if (PG(http_globals)[TRACK_VARS_GET]) { in SAPI_TREAT_DATA_FUNC() local
304 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]); in SAPI_TREAT_DATA_FUNC()
306 PG(http_globals)[TRACK_VARS_GET] = array_ptr; in SAPI_TREAT_DATA_FUNC() local
309 if (PG(http_globals)[TRACK_VARS_COOKIE]) { in SAPI_TREAT_DATA_FUNC() local
310 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]); in SAPI_TREAT_DATA_FUNC()
312 PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr; in SAPI_TREAT_DATA_FUNC() local
543 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_register_server_variables() local
544 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_register_server_variables()
546 PG(http_globals)[TRACK_VARS_SERVER] = array_ptr; in php_register_server_variables() local
624 memset(PG(http_globals), 0, sizeof(PG(http_globals))); in php_hash_environment()
627 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_hash_environment()
639 vars = PG(http_globals)[TRACK_VARS_GET]; in php_auto_globals_create_get()
644 if (PG(http_globals)[TRACK_VARS_GET]) { in php_auto_globals_create_get() local
645 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
647 PG(http_globals)[TRACK_VARS_GET] = vars; in php_auto_globals_create_get() local
666 vars = PG(http_globals)[TRACK_VARS_POST]; in php_auto_globals_create_post()
671 if (PG(http_globals)[TRACK_VARS_POST]) { in php_auto_globals_create_post() local
672 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
674 PG(http_globals)[TRACK_VARS_POST] = vars; in php_auto_globals_create_post() local
689 vars = PG(http_globals)[TRACK_VARS_COOKIE]; in php_auto_globals_create_cookie()
694 if (PG(http_globals)[TRACK_VARS_COOKIE]) { in php_auto_globals_create_cookie() local
695 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
697 PG(http_globals)[TRACK_VARS_COOKIE] = vars; in php_auto_globals_create_cookie() local
710 if (PG(http_globals)[TRACK_VARS_FILES]) { in php_auto_globals_create_files() local
711 vars = PG(http_globals)[TRACK_VARS_FILES]; in php_auto_globals_create_files()
716 PG(http_globals)[TRACK_VARS_FILES] = vars; in php_auto_globals_create_files() local
755 …zend_hash_update(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), argv, si… in php_auto_globals_create_server()
756 …zend_hash_update(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "argc", sizeof("argc"), argc, si… in php_auto_globals_create_server()
759 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_auto_globals_create_server()
768 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_auto_globals_create_server() local
769 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
771 PG(http_globals)[TRACK_VARS_SERVER] = server_vars; in php_auto_globals_create_server() local
774 check_http_proxy(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
775 …zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_SERVER], size… in php_auto_globals_create_server()
776 Z_ADDREF_P(PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
787 if (PG(http_globals)[TRACK_VARS_ENV]) { in php_auto_globals_create_env() local
788 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
790 PG(http_globals)[TRACK_VARS_ENV] = env_vars; in php_auto_globals_create_env() local
793 php_import_environment_variables(PG(http_globals)[TRACK_VARS_ENV] TSRMLS_CC); in php_auto_globals_create_env()
796 check_http_proxy(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])); in php_auto_globals_create_env()
797 …zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_ENV], sizeof(… in php_auto_globals_create_env()
798 Z_ADDREF_P(PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
824 …php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRM… in php_auto_globals_create_request()
831 …php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSR… in php_auto_globals_create_request()
838 …php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) T… in php_auto_globals_create_request()