note 4576 deleted from eval by jmoore
| From: | jmoore@php.net | Date: | Tue, 15 Aug 2000 00:10:47 +0000 |
| Subject: | note 4576 deleted from eval by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1856@lists.php.net to get a copy of this message | ||
The following code works in PHP3 but not PHP4:
file = fopen(...);
eval("fwrite($file, ...);");
When you run the above code, nothing would be written. It also corrupts the interpreter (beta 3) so
you get erroreous errors (like error at line number that doesn't exist).
eval("fwrite($file, ...);");
doesn't work neither.