Skip to content

Releases: glayzzle/php-parser

Bug-fixes

03 Sep 13:21

Choose a tag to compare

  • Fix #86 : bug on Object properties usage in PHP like __proto__, or constructor
  • Fix #84 : remove null statements from bodies

Precedence fixes

16 Jul 17:58

Choose a tag to compare

Precedence fixes Pre-release
Pre-release
  • Fix precedence between bin, retif, unary
  • Fix precedence with assign

2.0.4 - Fixes

09 Jul 22:45

Choose a tag to compare

  • Fix AST errors on suppressErrors
  • Add curly boolean on variable node (for ${bar} syntax)
  • Implement the static closure flag, ex: $c = static function() {};

2.0.0

04 Mar 20:36

Choose a tag to compare

  • Update AST for operators, unify bin/bool/coalesce nodes
  • Fix nested block usage on function bodies
  • Avoid initial $ on variables
  • Shell nodes are now exposed by encapsed nodes only
  • Typescript definition file
  • Avoid identifier nodes on namespaces & use statements
  • Fix precedence on bin, unary, retif nodes
  • Fix ending position on functions/methods/closures
  • Fix lexer unput at the end of the file (infinite loops)
  • Add encapsed node (type=offset) on dynamic offsets
  • Implement annonymous class arguments
  • Fix missing first char on encapsed T_STRING_VARNAME

1.0.0

03 Jan 11:43

Choose a tag to compare

  • All nodes are now converted to objects
  • Bruteforce tests are in a separate project
  • Improved tests with mocha
  • Many syntax fixes
  • Tests over a silent error mode
  • Release of a complete AST documentation

0.1.5

27 Dec 09:00

Choose a tag to compare

The 0.1.x version starts to be deprecated

  • Fix closure use token
  • Improve silent errors handler
  • Pass PHP7 tests
  • Update class, traits, interface declarations
  • Many syntax fixes

0.1.4

12 Dec 00:50

Choose a tag to compare

  • Move from static instances to instanciated objects in order to fully handle
    promises
  • Fix the silentLexer
  • Fix the debug output mode
  • Add positions on expr->set

bugfixes and php7 implementation

21 Jun 03:02

Choose a tag to compare

0.0.10

release 0.0.10

0.0.9

04 Oct 19:22

Choose a tag to compare

0.0.9 Pre-release
Pre-release
release 0.0.9

0.0.8

01 Jun 20:19

Choose a tag to compare

0.0.8 Pre-release
Pre-release

first release with a great language coverage