|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-14 10:34 UTC] wez@php.net
[2002-03-14 11:16 UTC] wez@php.net
[2002-03-14 20:51 UTC] yohgaki@php.net
[2002-06-18 07:09 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Feb 21 22:00:01 2026 UTC |
<?php //ob_start(); $a=array(); $a[]=&$a; array_pop($a); var_dump($GLOBALS); //ob_end_flush(); ?> This piece of code causes infinite loop. If the commments are removed than this little scripts starts to eat memory too fast. 100MB for 15secs. When the physical RAM was not available started to eat from the swap. If var_export() is used no problems(with the CVS). With 4.1.2 only causes Fatal Error - too deep recursion. Proably this has something with Yasuo's patch that tried force var_dump() to work like print_r() - showing recursion not just crashing.