New to the forthcoming PHP 8.0 release is a feature called match
expressions, which is a construct designed to address several shortcomings in
PHP’s switch statement. While it took three separate
request-for-comment (RFC) proposals in order to be accepted, the new
expression eventually received broad support for inclusion.
Source: LWN.net – [$] The winding road to PHP 8’s match expression