[–] nana- 6y ago ↗ Why a new major version? [–] brendt_gd 6y ago ↗ It's the standard release cycle of PHP: https://www.php.net/supported-versions.php
[–] brendt_gd 6y ago ↗ It's the standard release cycle of PHP: https://www.php.net/supported-versions.php
[–] GrumpyNl 6y ago ↗ Whats the big advantage of Trailing commas are allowed in parameter lists? I never liked it, if its not there, dont do a kind of pseudo initialization. [–] brendt_gd 6y ago ↗ It makes diffs easier to read, and ensures you never forget to add one of you'd add a new line to the parameter list. [–] owenmelbz 6y ago ↗ Maybe not for single line calls, but for multi-line helps with some readability and git diffs.$result = thing( $arg1, $arg2, $arg3, );
[–] brendt_gd 6y ago ↗ It makes diffs easier to read, and ensures you never forget to add one of you'd add a new line to the parameter list.
[–] owenmelbz 6y ago ↗ Maybe not for single line calls, but for multi-line helps with some readability and git diffs.$result = thing( $arg1, $arg2, $arg3, );
[–] sadeghpm 6y ago ↗ One of important weakness of php language is loosing generic type, I think this is one of most important feature we need in php.
6 comments
[ 3.0 ms ] story [ 32.9 ms ] thread$result = thing(
);