note 49790 deleted from function.eval by danbrown
| From: | danbrown@php.net | Date: | Tue, 25 Nov 2008 16:09:00 +0000 |
| Subject: | note 49790 deleted from function.eval by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146947@lists.php.net to get a copy of this message | ||
Note Submitter: critmas at hotmail dot com
----
I am using the eval(String) function as an alternate to processing instructions for XML code.
i.e.
<tag>something that I $need</tag>
when I read the value of the node (using DOM)
I ask php to evaluate the line for me to replace the value of $need.
Might be a hack, comments welcome