Fixed eval code (Thanks Fil)
[jquery.git] / build / test / data / name.php
index 7f77a0b..a4b990e 100644 (file)
@@ -7,7 +7,7 @@ if($wait) {
 $xml = $_REQUEST['xml'];\r
 if($xml) {\r
        header("Content-type: text/xml");\r
-       eval("\$result = $xml;");\r
+       $result = ($xml == "5-2") ? "3" : "?";\r
        echo "<math><calculation>$xml</calculation><result>$result</result></math>";\r
        die();\r
 }\r