parser
                                
                                
                                
                                    parser copied to clipboard
                            
                            
                            
                        Safe, fast and memory efficient PHP parser (lexical and syntactic analysers, and the Abstract Syntax Tree)
https://wiki.php.net/rfc/void_return_type The PHP languages specification has been updated recently.
Address #11. #### Specification https://github.com/php/php-langspec/blob/master/spec/19-grammar.md#expressions #### Progression - [x] Primary expressions, - [ ] Postfix operators, - [ ] Unary operators, - [ ] Assignment operators: - [ ] Conditional...
Linked to https://github.com/tagua-vm/parser/issues/3. See https://github.com/tagua-vm/parser/pull/115 and https://github.com/php/php-langspec/issues/200 for more details. Ensure that a double string can not contain any variable interpolations.
Follow up of https://github.com/tagua-vm/parser/issues/68. Address #14. `variable` definition has changed, https://github.com/php/php-langspec/blob/master/spec/10-expressions.md#grammar-variable. Our implementation must be updated.
https://wiki.php.net/rfc/short_list_syntax The PHP language specification must be updated too. cc @nikic
Currently, only decimals overflow from integer to real. As discussed in https://github.com/tagua-vm/parser/pull/38, while the specification does not mention it, this is culturally admitted that the binary, octal and hexadecimal notation...
Address #11. #### Specification https://github.com/php/php-langspec/blob/master/spec/19-grammar.md#statements #### Progression - [ ] General, - [ ] Compound statements, - [ ] Labeled statements, - [ ] Expression statements, - [ ] Iteration...
Address #11. #### Specification https://github.com/php/php-langspec/blob/master/spec/19-grammar.md#variables #### Progression - [ ] Function static declaration, - [ ] Static variable name list, - [ ] Static variable declaration, - [ ] Function...
Address #11. #### Specification https://github.com/php/php-langspec/blob/master/spec/19-grammar.md#program-structure #### Progression - [ ] Script, - [ ] Script section, - [ ] Start tag, - [ ] End tag, - [ ] Text.