Bug #77398 [Opn->Dup]: print_r($GLOBALS) causes memory limit to exceed
| From: | nikic@php.net | Date: | Wed, 02 Jan 2019 11:45:22 +0000 |
| Subject: | Bug #77398 [Opn->Dup]: print_r($GLOBALS) causes memory limit to exceed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-218746@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
Updated by: nikic@php.net
Reported by: php at xanady dot de
Summary: print_r($GLOBALS) causes memory limit to exceed
-Status: Open
+Status: Duplicate
Type: Bug
Package: *General Issues
Operating System: Linux
PHP Version: 7.3.0
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #77387, which has been fixed earlier today :)
Previous Comments:
------------------------------------------------------------------------
[2019-01-02 11:45:19] spam2 at rhsoft dot net
you are late to the party
https://bugs.php.net/bug.php?id=77387
------------------------------------------------------------------------
[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