Community
Participate
Working Groups
PHP 7.3 is now in beta 1 stage (no more features). Major changes that might affect PDT: 1. Support for trailing comma in function/method calls (without headers) similar to array declarations https://wiki.php.net/rfc/trailing-comma-function-calls 2. Indentation support in HEREDOC/NOWODOC https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes 3. References in list() https://wiki.php.net/rfc/list_reference_assignment 4. instanceof now allows literals as the first operand, in which case the result is always FALSE See UPGRADING file : https://github.com/php/php-src/blob/PHP-7.3/UPGRADING
New Gerrit change created: https://git.eclipse.org/r/131811
Hi Dawid, my patch implements point 2 (indentation support in HEREDOC/NOWODOC), the biggest (and most intrusive) syntax change. In the past, I've already implemented support for "trailing comma in function/method calls" in PHP 7.2, I haven't seen that this feature was finally delayed by Zend for PHP 7.3! So PDT already supports this syntax, maybe we should move that from PHP 7.2 to PHP 7.3, I don't know... For point 3 and 4, is there something to do on PDT side?
Gerrit change https://git.eclipse.org/r/131811 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=61b2f6ed4b31d98dc175f9e494d3cefb55ef276c
The 2 major features (point 1 and 2) should be implemented. I don't know if point 3 and 4 need some changes in PDT, so I keep this bug report open for now. Dawid, feel free to close it if you think we're done here.
> The 2 major features (point 1 and 2) should be implemented. Wrong formulation: point 1 and 2 are (of course) implemented now ;)
Everything it's working fine. Marking as fixed. Thank You Thierry!