MathExecutor Versions Save

Simple math expresions parser and calculator

v2.3.6

3 months ago

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

v2.3.5

6 months ago

v2.3.4

1 year ago
  • Fixed PHP 8.2 depreciation (thanks @javiermarinros)
  • Updated to PHPUnit 10 for 8.1 and 8.2

v2.3.3

1 year ago
  • 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.

v2.3.2

1 year ago
  • Minor formatting issues in code
  • Updated unit test and github actions for PHP 8.2

v2.3.1

1 year ago

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

Thanks to @madman-81

v2.3.0

1 year ago

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

  • Support for % operator (mod)

Thanks to @tobiashowitz for suggesting BCMath support

v2.2.2

2 years ago
  • Space should end numbers and string and not concatenate

v2.2.1

2 years ago
  • Strings with quotes can now be escaped in the same way as PHP.

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

V2.2.0

2 years ago
  • Support for math on custom objects
  • Support for validating variable names, types and values
  • Change private properties to protected for better method overriding

Thanks to @mrm Matthijs Meulenbrug for this release.