Skip to content

v0.1.29

Compare
Choose a tag to compare
@Muqsit Muqsit released this 15 Nov 11:53
· 36 commits to master since this release
  • Fixed unary positive operation resulting in negation since v0.1.28 (80ceccf)
  • Further optimized expression evaluation (6d0c799)
  • Implemented modulo operator strength reduction for identity property ((a % n) % n => a % n) (bca7b17, 9853547)
  • Removed functions rand() and getrandmax() (these functions exist in PHP only for backward compatibility) (ce8dfb3)
  • mt_rand() now accepts zero parameters (in addition to accepting two parameters) (8194bf3, f73be61)
  • Implemented mode constants for round() (HALF_UP, HALF_DOWN, HALF_EVEN, HALF_ODD) (c21ce74, 90c0f5d)
  • Renamed FunctionRegistry::register() to FunctionRegistry::registerFunction() (ad07641)
  • Renamed ConstantRegistry::register() to ConstantRegistry::registerLabel() (1b0d2d5)
  • Moved FunctionRegistry::registerMacro() to MacroRegistry::registerFunction() (0d0889f)
  • Implemented object-like macros that can be registered by calling MacroRegistry::registerObject() (34e5ad7)