note 49790 added to function.eval

From: Date: Tue, 08 Feb 2005 20:46:35 +0000
Subject: note 49790 added to function.eval
Groups: php.notes 
Request: Send a blank email to php-notes+get-84683@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.eval.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49790 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49790&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49790&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49790&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49790&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49790&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49790&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84683) next »