Lines Matching refs:http_globals

260 			if (Z_TYPE(PG(http_globals)[TRACK_VARS_COOKIE]) != IS_UNDEF &&  in php_register_variable_ex()
261 symtable1 == Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex()
421 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_POST]); in SAPI_TREAT_DATA_FUNC()
422 ZVAL_COPY_VALUE(&PG(http_globals)[TRACK_VARS_POST], &array); in SAPI_TREAT_DATA_FUNC()
425 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_GET]); in SAPI_TREAT_DATA_FUNC()
426 ZVAL_COPY_VALUE(&PG(http_globals)[TRACK_VARS_GET], &array); in SAPI_TREAT_DATA_FUNC()
429 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_COOKIE]); in SAPI_TREAT_DATA_FUNC()
430 ZVAL_COPY_VALUE(&PG(http_globals)[TRACK_VARS_COOKIE], &array); in SAPI_TREAT_DATA_FUNC()
677 zval *arr = &PG(http_globals)[TRACK_VARS_SERVER]; in php_register_server_variables()
748 memset(PG(http_globals), 0, sizeof(PG(http_globals))); in php_hash_environment()
751 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_hash_environment()
762 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
763 array_init(&PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
766 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
767 Z_ADDREF(PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
781 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
782 array_init(&PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
785 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
786 Z_ADDREF(PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
796 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
797 array_init(&PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
800 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
801 Z_ADDREF(PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
808 if (Z_TYPE(PG(http_globals)[TRACK_VARS_FILES]) == IS_UNDEF) { in php_auto_globals_create_files()
809 array_init(&PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
812 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
813 Z_ADDREF(PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
846 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGV), argv); in php_auto_globals_create_server()
847 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGC), argc); in php_auto_globals_create_server()
850 php_build_argv(SG(request_info).query_string, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
855 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
856 array_init(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
859 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
860 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
861 Z_ADDREF(PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
866 HT_ALLOW_COW_VIOLATION(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
873 zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
874 array_init(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
877 php_import_environment_variables(&PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
880 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])); in php_auto_globals_create_env()
881 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
882 Z_ADDREF(PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
906 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_GET])); in php_auto_globals_create_request()
913 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_POST])); in php_auto_globals_create_request()
920 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE])); in php_auto_globals_create_request()