1--TEST-- 2Test HTTP_RAW_POST_DATA creation 3--INI-- 4always_populate_raw_post_data=1 5max_input_vars=1000 6--POST-- 7a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3 8--FILE-- 9<?php 10var_dump($_POST, $HTTP_RAW_POST_DATA); 11?> 12--EXPECT-- 13Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0 14 15Warning: Cannot modify header information - headers already sent in Unknown on line 0 16array(3) { 17 ["a"]=> 18 string(3) "ABC" 19 ["y"]=> 20 string(3) "XYZ" 21 ["c"]=> 22 array(3) { 23 [0]=> 24 string(1) "1" 25 [1]=> 26 string(1) "2" 27 ["a"]=> 28 string(1) "3" 29 } 30} 31string(30) "a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3" 32