note 28136 deleted from function.eval by sniper
| From: | sniper@php.net | Date: | Thu, 29 Dec 2005 09:15:35 +0000 |
| Subject: | note 28136 deleted from function.eval by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100915@lists.php.net to get a copy of this message | ||
Note Submitter: Matt Flaherty
----
With regard to the comments from Jan 8 and 9 2002, some problems may still occur that can be
eliminated by adding whitespace as below:
eval (' ?>' . $string . '<?php ');
However it is important to realise that you must not comment out a line such as this. The delimiters
will still be parsed, which would produce unexpected results and probably errors. Perhaps better to
do something like this, which should have no trouble:
//eval (' ?' . '>' . $string . '<' . '?php ');