Materials for 09.01.2016 » Developer.Team - Developers Paradise!
star archive bad ca calendar cat coms dislike down down2 fav fb gp info left like login love mail od pass rel reply right search set share sort_down sort_up top tw up views vk votes cross phone loc ya

Bestcode bcParserPHP 1.6

Bestcode bcParserPHP 1.6
Bestcode bcParserPHP 1.6 | 31 kB


mathparser.php implements a MathParser class that parses and evaluates math formulas given as strings at runtime. PHP already has an eval() function for similar purposes. However eval() has security problems where a user supplied expression can cause havoc when executed on a web server or elsewhere. bcParserPHP works around this problem by parsing and evaluating the mathematical expression without using eval() function. bcParserPHP is tested with PHP version 5.2.9 and 5.6.8. The library utilizes newer PHP constructs such as classes, constructors, exceptions.
Read more