On the use of eval() in XML_Query2XML
| From: | Lukas Feiler | Date: | Mon, 30 Oct 2006 11:46:52 +0000 |
| Subject: | On the use of eval() in XML_Query2XML | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-44795@lists.php.net to get a copy of this message | ||
Hi,
recently I stumbled across the EvalForbiddance RFC
(http://pear.php.net/pepr/pepr-proposal-show.php?id=288). It turns out that
XML_Query2XML (I'm the lead developer for that package) uses eval() in a
couple of places:
-
http://query2xml.sourceforge.net/docs/html/XML_Query2XML/tutorial_XML_Query2
XML.pkg.html#query2xml_getxml.options_sql.simplequeryspecification
-
http://query2xml.sourceforge.net/docs/html/XML_Query2XML/tutorial_XML_Query2
XML.pkg.html#query2xml_getxml.options_condition
-
http://query2xml.sourceforge.net/docs/html/XML_Query2XML/tutorial_XML_Query2
XML.pkg.html#query2xml_getxml.options_value
Especially in the last two cases the use of eval() really simplifies things
(IMHO).
I would not like to make BC breaks but if they are really necessary I would
prefer this issue being settled before going stable some time in the near
future.
tanks a lot for your input,
Lukas