Bug #71012 [Opn->Csd]: register_shutdown_function handle a nonentity error

From: Date: Wed, 02 Dec 2015 03:58:23 +0000
Subject: Bug #71012 [Opn->Csd]: register_shutdown_function handle a nonentity error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197552@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71012&edit=1 ID: 71012 User updated by: hi at hisune dot com Reported by: hi at hisune dot com Summary: register_shutdown_function handle a nonentity error -Status: Open +Status: Closed Type: Bug Package: *General Issues Operating System: centos PHP Version: 5.6.16 Block user comment: N Private report: N New Comment: not a bug, sorry! Previous Comments: ------------------------------------------------------------------------ [2015-12-02 02:55:10] hi at hisune dot com 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; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71012&edit=1

« previous php.bugs (#197552) next »