PHP code example of gigac / happymath
1. Go to this page and download the library: Download gigac/happymath 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/ */
gigac / happymath example snippets
php
$expression = 'AVG(5,3,SUM(1,2,MAX(1,2),3,12))';
$result = new Gigac\HappyMath\HappyMath($expression);