Eval error
| From: | Samuel Liddicott | Date: | Fri, 20 Aug 1999 13:02:09 +0000 |
| Subject: | Eval error | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3605@lists.php.net to get a copy of this message | ||
<%
echo "try x<br>\n";
eval ('x("hi");');
echo "done x<br>\n";
%>
"done x" is never output because function x doesn't exist and so the whole
script bombs out.
Is there not a better form of eval that captures the error for examination
(such as perl's eval does)?
Sam