PHP code example of dykyi-roman / math-parser
1. Go to this page and download the library: Download dykyi-roman/math-parser library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dykyi-roman / math-parser example snippets
$mp = new mathParser();
$result = $mp->calc("1+2-(2*2)");
php composer.phar