Eval function
| From: | Sergio Garcia Murillo | Date: | Mon, 06 Mar 2000 17:48:28 +0000 |
| Subject: | Eval function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16463@lists.php.net to get a copy of this message | ||
I'm developing a system in wich i'm going to allow to include user defined PHP-Code into a
main
script with the eval function, but i need the script to continue executing even if the user-code is
bad written, so there could be a way to parse that code and see if it's rigth before executing
it
or even hacking the eval fucntion to return an error if the code is wrong and then continuing with
the execution??
Thanxs in advance..
Sergio