Skip to content

Releases: neonxp/MathExecutor

Support for escaping quotes in strings

21 May 17:41
d1b0607

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.

Support for Arrays and multiple number of function parameters

16 May 22:30
f71b77a

Choose a tag to compare

  • Full support for arrays in expressions ([3,7,13] or array(2,4,8))
  • Support for arrays as parameters to functions like min and max
  • Support for variable number of function parameters

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

Support for math on objects

26 Apr 20:19
c396a88

Choose a tag to compare

  • 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.

varExists and better VarNotFound handling

22 Mar 16:20
a0ff7a7

Choose a tag to compare

  • Added varExists method
  • getVar now respects VarNotFoundHandler setting
  • Updated github actions

Better PHP 8.1 support

14 Feb 15:01
6ebe484

Choose a tag to compare

Dropping support for PHP 7.2

Fix scientific notation

06 Jan 10:00
9442a6f

Choose a tag to compare

Merge pull request #92 from ideatic/fix-scientific-notation

fix: broken support for positive exponent numbers

Unary Plus support

05 Mar 01:10
aa37abb

Choose a tag to compare

V2.1.8

Release prep (#86)

Better Unary Minus support

17 Feb 03:15
17cc5b9

Choose a tag to compare

Unary Minus (#84)

Fixed unary minus to allow a minus sign in front of functions and parentheses.

Cache Management

06 Jan 00:18
936ee5c

Choose a tag to compare

Ability not cache expression parsing and clear the cache.

More built in functions

19 Oct 23:27
761ac50

Choose a tag to compare

Additional tests Hacktoberfest (#77)

* Additional tests

Co-authored-by: diman3210 <diman-3210@mail.ru>