In my frontend I have someone who can change a formula in a form field.
The formula will be saved in a mysql database (text field right now).
For example this: "4 + (5 + 2 ) ^ (6 * 10)".
Now I want to solve this in my php code. My Problem is there I need the function "pow" for example.
Is there any good solution to handle all or most math functions for php. Or do I have to manipulate the "^" to pow(4 + (5 + 2), (6 * 10)).