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 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 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 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. Link to comment https://forums.phpfreaks.com/topic/33548-math-expression-parser/#findComment-1283941 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.