Lines Matching refs:http_globals

220 			if (PG(http_globals)[TRACK_VARS_COOKIE] &&  in php_register_variable_ex()
221 symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex()
298 if (PG(http_globals)[TRACK_VARS_POST]) { in SAPI_TREAT_DATA_FUNC() local
299 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]); in SAPI_TREAT_DATA_FUNC()
301 PG(http_globals)[TRACK_VARS_POST] = array_ptr; in SAPI_TREAT_DATA_FUNC() local
304 if (PG(http_globals)[TRACK_VARS_GET]) { in SAPI_TREAT_DATA_FUNC() local
305 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]); in SAPI_TREAT_DATA_FUNC()
307 PG(http_globals)[TRACK_VARS_GET] = array_ptr; in SAPI_TREAT_DATA_FUNC() local
310 if (PG(http_globals)[TRACK_VARS_COOKIE]) { in SAPI_TREAT_DATA_FUNC() local
311 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]); in SAPI_TREAT_DATA_FUNC()
313 PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr; in SAPI_TREAT_DATA_FUNC() local
560 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_register_server_variables() local
561 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_register_server_variables()
563 PG(http_globals)[TRACK_VARS_SERVER] = array_ptr; in php_register_server_variables() local
641 memset(PG(http_globals), 0, sizeof(PG(http_globals))); in php_hash_environment()
644 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_hash_environment()
656 vars = PG(http_globals)[TRACK_VARS_GET]; in php_auto_globals_create_get()
661 if (PG(http_globals)[TRACK_VARS_GET]) { in php_auto_globals_create_get() local
662 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
664 PG(http_globals)[TRACK_VARS_GET] = vars; in php_auto_globals_create_get() local
683 vars = PG(http_globals)[TRACK_VARS_POST]; in php_auto_globals_create_post()
688 if (PG(http_globals)[TRACK_VARS_POST]) { in php_auto_globals_create_post() local
689 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
691 PG(http_globals)[TRACK_VARS_POST] = vars; in php_auto_globals_create_post() local
706 vars = PG(http_globals)[TRACK_VARS_COOKIE]; in php_auto_globals_create_cookie()
711 if (PG(http_globals)[TRACK_VARS_COOKIE]) { in php_auto_globals_create_cookie() local
712 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
714 PG(http_globals)[TRACK_VARS_COOKIE] = vars; in php_auto_globals_create_cookie() local
727 if (PG(http_globals)[TRACK_VARS_FILES]) { in php_auto_globals_create_files() local
728 vars = PG(http_globals)[TRACK_VARS_FILES]; in php_auto_globals_create_files()
733 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 …zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_SERVER], size… in php_auto_globals_create_server()
775 Z_ADDREF_P(PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
786 if (PG(http_globals)[TRACK_VARS_ENV]) { in php_auto_globals_create_env() local
787 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
789 PG(http_globals)[TRACK_VARS_ENV] = env_vars; in php_auto_globals_create_env() local
792 php_import_environment_variables(PG(http_globals)[TRACK_VARS_ENV] TSRMLS_CC); in php_auto_globals_create_env()
795 …zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_ENV], sizeof(… in php_auto_globals_create_env()
796 Z_ADDREF_P(PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
822 …php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRM… in php_auto_globals_create_request()
829 …php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSR… in php_auto_globals_create_request()
836 …php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) T… in php_auto_globals_create_request()