uten Posted January 10, 2007 Share Posted January 10, 2007 Hi guys!Am trying to get hold of a PHP Math Expression Parser that follows correct precedence and executes custom functions. Can somebody share his scripts? or lead me to the right directions?Hope you can help! Thanks a lot! My boss is gonna kill me soon. This is 1 week overdue already. :(Jon Quote Link to comment https://forums.phpfreaks.com/topic/33548-math-expression-parser/ Share on other sites More sharing options...
utexas_pjm Posted January 10, 2007 Share Posted January 10, 2007 Hey Jon,I found this one on phpclasses.org: http://www.phpclasses.org/browse/package/2695.html (this link might not work, as I had to login, but the name is Eval Math. You can find it under the Math section). Best,Patrick Quote Link to comment https://forums.phpfreaks.com/topic/33548-math-expression-parser/#findComment-157105 Share on other sites More sharing options...
uten Posted January 10, 2007 Author Share Posted January 10, 2007 Hey Patrick!Thanks for the link! :) It works really great. Jon Quote Link to comment https://forums.phpfreaks.com/topic/33548-math-expression-parser/#findComment-157183 Share on other sites More sharing options...
demir4 Posted November 1, 2011 Share Posted November 1, 2011 Check out bcParserPHP. It is a math parser for PHP that does what you want without using PHP eval function. Quote Link to comment https://forums.phpfreaks.com/topic/33548-math-expression-parser/#findComment-1283941 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.