Posted by R. Rajesh Jeba Anbiah on 01/21/06 04:44
werner wrote:
> Hi!
>
> I don't want to use eval() in order to parse a user-supplied formula.
> What alternatives do I have? PHP has no standard functionality for
> tokenizing or parsing expressions in this regard.
<snip>
You may do sand boxing with <http://in2.php.net/runkit>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Navigation:
[Reply to this message]
|