note 9383 added to eval
| From: | bright at ugcs dot caltech dot edu | Date: | Tue, 31 Oct 2000 00:17:45 +0000 |
| Subject: | note 9383 added to eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7191@lists.php.net to get a copy of this message | ||
If you call eval many (as in hundreds of thousands) of times, PHP will choke. It returns weird
error messages that show that it is gone, like:
<b>Parse error</b>: parse error in <b>-</b> on line
<b>510020</b>
(Obviously, there is no file named -, and certainly no line numbered 510020.)
You can get around it pretty easily, by just not using eval (though often you make more lines of
code).
Anyone know if it is fixed in PHP 4?
http://www.php.net/manual/function.eval.php