|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36957 serialize() doesn't ends
Submitted: 2006-04-03 13:35 UTC Modified: 2006-04-05 02:30 UTC
From: andyjunkie at tiscali dot it Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5.1.2 OS: *nix, Windows XP sp2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
32 - 9 = ?
Subscribe to this entry?

 [2006-04-03 13:35 UTC] andyjunkie at tiscali dot it
$x = $GLOBALS;
print serialize($GLOBALS);

$x = $GLOBALS;
print serialize($x);

Starts eating memory and never ends. 

Expected result:
Serialized $GLOBALS array, with some {RECURSION} reference


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-05 02:30 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 11 08:01:23 2021 UTC