Lines Matching refs:http_globals

269 			if (Z_TYPE(PG(http_globals)[TRACK_VARS_COOKIE]) != IS_UNDEF &&  in php_register_variable_ex()
270 symtable1 == Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex()
430 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_POST]); in SAPI_TREAT_DATA_FUNC()
431 ZVAL_COPY_VALUE(&PG(http_globals)[TRACK_VARS_POST], &array); in SAPI_TREAT_DATA_FUNC()
434 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_GET]); in SAPI_TREAT_DATA_FUNC()
435 ZVAL_COPY_VALUE(&PG(http_globals)[TRACK_VARS_GET], &array); in SAPI_TREAT_DATA_FUNC()
438 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_COOKIE]); in SAPI_TREAT_DATA_FUNC()
439 ZVAL_COPY_VALUE(&PG(http_globals)[TRACK_VARS_COOKIE], &array); in SAPI_TREAT_DATA_FUNC()
670 zval *arr = &PG(http_globals)[TRACK_VARS_SERVER]; in php_register_server_variables()
739 memset(PG(http_globals), 0, sizeof(PG(http_globals))); in php_hash_environment()
742 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_hash_environment()
753 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
754 array_init(&PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
757 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
758 Z_ADDREF(PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
772 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
773 array_init(&PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
776 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
777 Z_ADDREF(PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
787 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
788 array_init(&PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
791 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
792 Z_ADDREF(PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
799 if (Z_TYPE(PG(http_globals)[TRACK_VARS_FILES]) == IS_UNDEF) { in php_auto_globals_create_files()
800 array_init(&PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
803 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
804 Z_ADDREF(PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
837 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGV), argv); in php_auto_globals_create_server()
838 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGC), argc); in php_auto_globals_create_server()
841 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
846 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
847 array_init(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
850 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
851 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
852 Z_ADDREF(PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
857 HT_ALLOW_COW_VIOLATION(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
864 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
865 array_init(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
868 php_import_environment_variables(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
871 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])); in php_auto_globals_create_env()
872 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
873 Z_ADDREF(PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
897 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_GET])); in php_auto_globals_create_request()
904 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_POST])); in php_auto_globals_create_request()
911 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE])); in php_auto_globals_create_request()