PHP code example of anzu20 / math-expression-executor
1. Go to this page and download the library: Download anzu20/math-expression-executor 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/ */
anzu20 / math-expression-executor example snippets
$expr = new RPNExecutor();
$expr->calculate('2+2+2');