PHP 4.0 Bug #1920: limit on number of function calls (non recursive)

From: Date: Thu, 29 Jul 1999 10:42:00 +0000
Subject: PHP 4.0 Bug #1920: limit on number of function calls (non recursive)
Groups: php.dev 
Request: Send a blank email to php-dev+get-9309@lists.php.net to get a copy of this message
From: alan@gocdo.net.au Operating system: RH Linux 5.2 PHP version: 4.0 Latest CVS (29/07/1999) PHP Bug Type: Reproduceable crash Bug description: limit on number of function calls (non recursive) the latest (1999-07-29 10:30:00 GMT) cvs compiled as a cgi binary the following (non recursive) script... ===================== <?php $count=0; while(true){ one(&$count); } function one($count){ echo $count."\n"; $count++; } ?> =================== ...causes the following error; . . . 5459 5460 <br> <b>Fatal error</b>: Allowed memory size of 120000000 bytes exhausted at zend_ptr_stack.c:38 (tried to allocate -196608 bytes) in <b>bigarray.php</b> on line <b>5</b><br> [alan@gocdo]$

« previous php.dev (#9309) next »