I would like an alternative to "eval" but only for simple math operations and logic operator but must to include IF statement, like these:
123 + 345
122 + (2*78)
8 - 876 + 15
if (3 > 2) then 12
if (1 = 1) then this is ok
this is ok
It is fine is we support only one IF statement.
I don't mind if we need to use another word instead of "if", I just need to get the logic.
The input are always strings.
It is fine if the IF statement supports only numeric values.
My budget is:
Only apply if you have this already done, I don't want to wait until you develop this from scratch.
Please show me a demo of what you have.
12 frilansere byr i snitt $124 for denne jobben
Hello Sir! I have great experience with PHP and i can give you a script (without eval) that will do the math operations you asked for. I can give it to you in 1 hour. Best Regards.