Add E_DEPRECATED when populating $HTTP_RAW_POST_DATA

This commit is contained in:
Michael Wallner 2013-12-10 15:35:41 +01:00
parent 729f85fad7
commit 4797f7ad16
4 changed files with 12 additions and 1 deletions

View file

@ -734,7 +734,6 @@ static zend_bool php_auto_globals_create_post(const char *name, uint name_len TS
if (PG(variables_order) &&
(strchr(PG(variables_order),'P') || strchr(PG(variables_order),'p')) &&
!SG(headers_sent) &&
SG(request_info).request_method &&
!strcasecmp(SG(request_info).request_method, "POST")) {
sapi_module.treat_data(PARSE_POST, NULL, NULL TSRMLS_CC);