Hey Larry, On Mon, Dec 14, 2020 at 6:34 PM Larry Garfield <la...@garfieldtech.com> wrote:
> I present to Internals this tiny RFC to follow up on the match() > expression RFC from earlier in the year. There was solidly positive > support for this shortcut previously but it was removed for simplicity at > the time, with the intent to bring it back later. It's now later. > > https://wiki.php.net/rfc/short-match > Overall back to the `switch (true)` case, which IMO is not a good idea in first place :| Nothing wrong with using a set of conditional that are put in a sequence through `if ()`, for these rare cases. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/