Re:Upcoming changes in PHP 7.1
by bpicolo on Monday May 23, 2016 @07:51AM
(#11753237)
Better yet, don't reinvent the world and just use commas?
[ Parent
| on HN ]
Re:Upcoming changes in PHP 7.1
by fredleblanc on Monday May 23, 2016 @07:59AM
(#11753271)
Commas are used in PHP as a sequence of things, not multiple options. This single-pipe notation is already established as the further-up comments states.
> Commas are used in PHP as a sequence of things
Choosing a pipe because it's easier for an obscure language feature, is not least astonishment. Commas are used for lists. The pipe is a bad choice among a nice feature.