Releases: neonxp/MathExecutor
Releases · neonxp/MathExecutor
Support for escaping quotes in strings
- 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
- 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
- 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
- Added varExists method
- getVar now respects VarNotFoundHandler setting
- Updated github actions
Better PHP 8.1 support
Dropping support for PHP 7.2
Fix scientific notation
Merge pull request #92 from ideatic/fix-scientific-notation fix: broken support for positive exponent numbers
Unary Plus support
V2.1.8 Release prep (#86)
Better Unary Minus support
Unary Minus (#84) Fixed unary minus to allow a minus sign in front of functions and parentheses.
Cache Management
Ability not cache expression parsing and clear the cache.
More built in functions
Additional tests Hacktoberfest (#77) * Additional tests Co-authored-by: diman3210 <diman-3210@mail.ru>