Skip to content

Releases: neonxp/MathExecutor

PHP 8.4 Support

28 Oct 19:42
b3b9351
Compare
Choose a tag to compare
v2.3.7

PHP 8.4 support (#138)

Support for second argument to log()

16 Feb 02:47
dca855e
Compare
Choose a tag to compare

Support for second argument to log() to match PHP log() function.

PHP 8.3

23 Nov 15:39
a1f86ab
Compare
Choose a tag to compare
v2.3.5

PHP 8.3 (#133)

PHP 8.2 and PHPUnit V10 updates

21 Mar 15:17
e1cca19
Compare
Choose a tag to compare
  • Fixed PHP 8.2 depreciation (thanks @javiermarinros)
  • Updated to PHPUnit 10 for 8.1 and 8.2

Not(!) logical operator and median function

26 Dec 16:14
1d41ca6
Compare
Choose a tag to compare
  • Added support for logical NOT(!) operator. Thanks to @fatihkizmaz
  • Added median function. Thanks to @fatihkizmaz
  • Dropped support for PHP 7.4
  • Updated depreciations to unit test failures
  • Updated PHPCSFixer settings.

PHP 8.2 Support

08 Dec 16:17
c59f4cd
Compare
Choose a tag to compare
  • Minor formatting issues in code
  • Updated unit test and github actions for PHP 8.2

IncorrectNumberOfFunctionParametersException on too many args

04 Aug 12:22
a041bb5
Compare
Choose a tag to compare

Throw an IncorrectNumberOfFunctionParametersException if a function gets more arguments than it supports.

Thanks to @madman-81

BCMath and mod operator support

01 Jun 22:16
a944fe4
Compare
Choose a tag to compare

Arbitrary Precision Math functions. Call useBCMath($decimalPoints) to activate.

  • Support for % operator (mod)

Thanks to @tobiashowitz for suggesting BCMath support

Better invalid expression detection

28 May 20:03
cbada2b
Compare
Choose a tag to compare
  • Space should end numbers and string and not concatenate

Support for escaping quotes in strings

21 May 17:41
d1b0607
Compare
Choose a tag to compare
  • Strings with quotes can now be escaped in the same way as PHP.

Thanks to @fatihkizmaz Fatih Kızmaz for this release.