Bug #2375: eval memory leak
| From: | bago at datasail dot net | Date: | Fri, 24 Sep 1999 16:48:34 +0000 |
| Subject: | Bug #2375: eval memory leak | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11274@lists.php.net to get a copy of this message | ||
From: bago@datasail.net
Operating system: FreeBSD 3.2
PHP version: 3.0 Latest CVS (24/09/1999)
PHP Bug Type: Reproduceable crash
Bug description: eval memory leak
try this code... it works fine on php4cvs but crashes at around $i==4000 (on my pc).
<?php
$a=0;
for ($i=0; $i<30000; $i++) {eval('$a += 1;');print($a.'<br>');}
?>
it does not matter what i'm evaluing.... just increase $i.. and it will crash. (php3cvs DSO
with versioning)