This website requires JavaScript.
Explore
Help
Sign In
NeonXP
/
MathExecutor
Watch
1
Star
0
Fork
You've already forked MathExecutor
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
a944fe4e56
MathExecutor
/
.gitignore
8 lines
80 B
Text
Raw
Normal View
History
Unescape
Escape
Initial commit
2013-03-14 04:27:37 +04:00
vendor/
Fixes exponentiation operator
2017-09-12 14:54:51 +03:00
.idea/
Subtraction fix (#46) * Updated unit tests * Fixed docs * Better unary minus support
2019-08-16 17:27:44 +03:00
composer.lock
.phpunit.result.cache
Logicandcompare (#50) * TokenFactory: allowing multicharacter tokens * Added logical and compare operators: <, <=, >, >=, ==, !=, ||, && * Fixed operator priorities * Error messages fixes * Fixed operators priority The priorities are assigned by following the php language standard (https://www.php.net/manual/en/language.operators.precedence.php) I've assigned precedence in steps of 10 units by following the linked page: 230 clone new 220 ** 210 ++ -- ~ (int) (float) (string) (array) (object) (bool) @ 200 instanceof 190 ! 180 * / % 170 + - . 160 << >> 150 < <= > >= 140 == != === !== <> <=> 130 & 120 ^ 110 | 100 && 90 || 80 ?? 70 ? : 60 = += -= *= **= /= .= %= &= |= ^= <<= >>= 50 yield from 40 yield 30 and 20 xor 10 or * Added if() function * Cache key fix There are cases where the cache key creation raised an error, for example while evaluating the expression "if(cos(2), cos(2), 0)", because the if() function was passing a float to the MathExecutor:execute() method.
2019-11-26 17:00:24 +03:00
.vscode
Adding varExists method and support for undefined var handler in getVar (#96) * Added varExists method * getVar now respects VarNotFoundHandler setting * Use local version of PHP-CS-Fixer Instead of hard coded version from github actions * Fixing actions * Fixing actions * Dropping testing for 7.3, as it is no longer supported
2022-03-21 19:52:25 +03:00
.php-cs-fixer.cache
Reference in a new issue
Copy permalink