Bug #77398 [Com]: print_r($GLOBALS) causes memory limit to exceed

From: Date: Wed, 02 Jan 2019 11:45:20 +0000
Subject: Bug #77398 [Com]: print_r($GLOBALS) causes memory limit to exceed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218745@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77398&edit=1 ID: 77398 Comment by: spam2 at rhsoft dot net Reported by: php at xanady dot de Summary: print_r($GLOBALS) causes memory limit to exceed Status: Open Type: Bug Package: *General Issues Operating System: Linux PHP Version: 7.3.0 Block user comment: N Private report: N New Comment: you are late to the party https://bugs.php.net/bug.php?id=77387 Previous Comments: ------------------------------------------------------------------------ [2019-01-02 11:39:56] php at xanady dot de Description: ------------ Any usage of print_r($GLOBALS) in PHP 7.3 results in an fatal error: Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 534777856 bytes) in /............./test.php on line 2 Works fine in other php versions. See here: https://3v4l.org/AdLgJ Test script: --------------- <?php print_r($GLOBALS); ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77398&edit=1

« previous php.bugs (#218745) next »