PHP 7.4 support

This commit is contained in:
Bruce Wells 2019-11-30 18:41:36 -05:00
parent 84f3f967b7
commit 2db48eff95
4 changed files with 6 additions and 7 deletions

View file

@ -4,6 +4,7 @@ php:
- 7.1 - 7.1
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4
before_script: before_script:
- wget http://getcomposer.org/composer.phar - wget http://getcomposer.org/composer.phar

View file

@ -78,8 +78,6 @@ $executor->addFunction('abs', function($arg) {return abs($arg);});
``` ```
Function default parameters are not supported at this time. Function default parameters are not supported at this time.
Default parameters are not currently supported.
## Operators: ## Operators:
Default operators: `+ - * / ^` Default operators: `+ - * / ^`

View file

@ -77,7 +77,7 @@ class MathTest extends \PHPUnit\Framework\TestCase
['log1p(1.5)'], ['log1p(1.5)'],
['max(1.5, 3.5)'], ['max(1.5, 3.5)'],
['min(1.5, 3.5)'], ['min(1.5, 3.5)'],
['octdec(1.5)'], ['octdec("15")'],
['pi()'], ['pi()'],
['pow(1.5, 3.5)'], ['pow(1.5, 3.5)'],
['rad2deg(1.5)'], ['rad2deg(1.5)'],