#### PHP 7.3 RFC

https://wiki.php.net/rfc#php_73

We need to support the following features:

1. [Allow a trailing comma in function 
calls](https://wiki.php.net/rfc/trailing-comma-function-calls)
2. [list() Reference 
Assignment](https://wiki.php.net/rfc/list_reference_assignment)
3. [Flexible Heredoc and Nowdoc 
Syntaxes](https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes)

I've supported No.1 and 2 in this PR. Main changes are 
`php/php.editor/tools/ASTPHP5Parser.cup` and 
`php/php.editor/src/org/netbeans/modules/php/editor/verification/PHP73UnhandledError.java`.
 Other than those, I added unit tests.

However, No.3 is not easy because of BC break.
Probably, we should create a lexer(and parser, too?) for PHP 7.3, but I suppose 
unit tests will be complicated. (We are using the common lexer and parser for 
all PHP versions, so far.)

[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/840 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to