Skip to content

justlunix/mathParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

PHP 7.3 MathParser

This is a WIP math parser for PHP >= 7.3.

Usage

require_once 'MathParser.php';

$parser = new MathParser();
$result = $parser->evaluate('2+2*(7-2)');
echo $result;

About

Evaluate mathematical expressions from strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages