Skip to content

Releases: neonxp/MathExecutor

Removed virtual directory

09 Jan 13:43
Compare
Choose a tag to compare

No code changes

Logical Operators and more math functions

27 Nov 17:40
f240380
Compare
Choose a tag to compare
Version 1.1 (#51)

* Update README.md and more function support

PHPUnit 7.0 support

31 Oct 02:17
b845605
Compare
Choose a tag to compare

Support for PHP 7.1 and higher. Will still work with 5.6 for now.

Better support for unary minus

16 Aug 14:31
ce50015
Compare
Choose a tag to compare

Recommended Upgrade

  • Better unary minus support
  • Updated unit tests
  • Updated docs

Fixed comma operator

16 Jan 07:28
36b252b
Compare
Choose a tag to compare
Merge pull request #44 from phpfui/master

* Fixed comma operator

Added unit tests for expressions in function arguments.
Changed array_push to $var[] = native code.

* Fixed merge error

* Fixed typo in constant

Bug fixes

12 Jan 13:25
Compare
Choose a tag to compare
Fixed function parameter order (#42)

* Fixed parsing for ()

* sync (#5)

* Documentation fixes (#34)

Fixing typos in and clarifying documentation.

* MathExecutor allow override default operators, functions and vars (#36)

* Added simple coc (#37)

* Added simple coc

* Fix

* Replaceable operators (#38)

* Updated from NeonXP/MathExecutor

* Fixed function in () block issue

* Fixing typos in and clarifying documentation.

* Syncing from origin (#3)

* Documentation fixes (#34)

Fixing typos in and clarifying documentation.

* MathExecutor allow override default operators, functions and vars (#36)

* Allow for operators to be replaced based on regex expression

* Fix md typo (#39)

* Updated from NeonXP/MathExecutor

* Fixed function in () block issue

* Fixing typos in and clarifying documentation.

* Syncing from origin (#3)

* Documentation fixes (#34)

Fixing typos in and clarifying documentation.

* MathExecutor allow override default operators, functions and vars (#36)

* Syncing to origin (#4)

* Documentation fixes (#34)

Fixing typos in and clarifying documentation.

* MathExecutor allow override default operators, functions and vars (#36)

* Added simple coc (#37)

* Added simple coc

* Fix

* Replaceable operators (#38)

* Updated from NeonXP/MathExecutor

* Fixed function in () block issue

* Fixing typos in and clarifying documentation.

* Syncing from origin (#3)

* Documentation fixes (#34)

Fixing typos in and clarifying documentation.

* MathExecutor allow override default operators, functions and vars (#36)

* Allow for operators to be replaced based on regex expression

* \\ instead of \

* Update README.md

Some small fixes

* Fix single quotes parsing (#41)

* Fix single quotes parsing
Fix e-mails
Some small fixes

* Mistake in test

* More PHP versions

* Update README.md

Deleted `dev` branch

* Fixed function parameter order

Corrected $places default value for addFunction to match TokenFactory
Added function order test and put expected order first in assertEquals
If else blocks in calculator
Updated docs

Better extensibility

10 Jan 18:40
Compare
Choose a tag to compare

Allow for better customization when extending MathExecutor. Can be used to implement operator overloading for example.
Updated documentation and added a COC.

Correct parsing of functions in () blocks

26 Nov 15:08
d50b665
Compare
Choose a tag to compare

This is a recommended release. Prior versions may not work 100% with functions.

Division by zero exception support

07 Nov 21:01
aa12a41
Compare
Choose a tag to compare

MathExecutor now allows for exceptions to be thrown on division be zero. Previous and current default behavior is it return 0 if dividing by zero.

Stable branch

06 Sep 13:25
Compare
Choose a tag to compare

All development in 'dev' branch.