Hi. I need a function that takes a mathematical expression in the form of a string, and calculates the result. PHP itself doesn't seem to provide one. I need something which can handle strings like:
10*73.2+3-(4*358.2874)/352 ... and so on. If it handles functions (like cos(), pow(), exp()) too, then that would be great. I'd appreciate any help. Thanks in advance.