|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-02 03:58 UTC] hi at hisune dot com
-Status: Open
+Status: Closed
[2015-12-02 03:58 UTC] hi at hisune dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 03:00:02 2026 UTC |
Description: ------------ When i used register_shutdown_function and file_get_contents('php://input'). It will trigger error message: 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 But i did not used $HTTP_RAW_POST_DATA!!! Test script: --------------- <?php function test() { if($e = error_get_last()) var_dump($e); } register_shutdown_function('test'); var_export(file_get_contents('php://input'));exit;