333 B
333 B
NXP MathExecutor
Simple math expressions calculator
Sample usage:
<?php
require "vendor/autoload.php";
$calculator = new \NXP\MathExecutor();
print $calculator->execute("1 + 2 * (2 - (4+10))^2");
Install via Composer
All instructions to install here: https://packagist.org/packages/nxp/math-executor