Community
Participate
Working Groups
PHP 7.4 is now in RC2 status and will be released the November 28th, 2019. Major changes that will affect PDT and need to be implemented: - arrow functions (https://wiki.php.net/rfc/arrow_functions_v2) - typed properties (https://wiki.php.net/rfc/typed_properties_v2) - spread operator in arrays (https://wiki.php.net/rfc/spread_operator_for_array) - null coalescing assignment operator (https://wiki.php.net/rfc/null_coalesce_equal_operator) - allow underscores in numeric values (https://wiki.php.net/rfc/numeric_literal_separator) Also see: https://github.com/php/php-src/blob/PHP-7.4/UPGRADING And grammars from: https://github.com/nikic/PHP-Parser/tree/master/grammar https://github.com/php/php-src/tree/master/Zend This report will be a placeholder for all progress done concerning PHP 7.4 support in PDT. Thierry.
Gerrit change https://git.eclipse.org/r/148565 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=1cf9b8ff190d85587b76a89efd1f323cd9996522
(In reply to Eclipse Genie from comment #1) > Gerrit change https://git.eclipse.org/r/148565 was merged to [master]. > Commit: > http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/ > ?id=1cf9b8ff190d85587b76a89efd1f323cd9996522 What still needs to be done: - update CA, TI and the variable validator to support arrow functions, typed properties and spread operators. Parameter highlighting for nested normal, anonymous and/or arrow functions should also be fixed (it depends on the variable validator). @Dawid, your help would be more than helpful :) On my side, I'll do at least: - write specific PHP 7.4 JUnit tests - update the ASTRewriteAnalyzer class - update the PHP 7.4 language documentation once the PHP 7.4 binaries are available Note that my first patch also fixes PHP bug_71897. For more informations see https://bugs.php.net/bug.php?id=71897 and https://github.com/php/php-src/commit/660e88c19d98b8353995d750940d8513bfeca85f#diff-93ad74868f98ff7232ebea00007c8b7f
New Gerrit change created: https://git.eclipse.org/r/150340
Gerrit change https://git.eclipse.org/r/150340 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=0e1a5f6bc5259f094c817e131819398be85893c4
New Gerrit change created: https://git.eclipse.org/r/150341
Gerrit change https://git.eclipse.org/r/150341 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=b2ab5727c5a5f3da63394ad0016bc8fbeb646b7e
New Gerrit change created: https://git.eclipse.org/r/151962
Gerrit change https://git.eclipse.org/r/151962 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=63da89a985f4f10b71cc05a735226dadb929b663
New Gerrit change created: https://git.eclipse.org/r/153616
Gerrit change https://git.eclipse.org/r/153616 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=b0abc6143fd7bf89f3dcc7dd3794e46118f56082
New Gerrit change created: https://git.eclipse.org/r/153629
Gerrit change https://git.eclipse.org/r/153629 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=2287fc6ef9a7863275b4f2ac8188e80fe47f3687
New Gerrit change created: https://git.eclipse.org/r/153632
Gerrit change https://git.eclipse.org/r/153632 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=1842f63f3c27a443c3bcdb37007ade93ac4973e0
Marking as resolved. Improvements should be done as separate tasks.