Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

match statement #407

Merged
merged 1 commit into from
Dec 14, 2020
Merged

match statement #407

merged 1 commit into from
Dec 14, 2020

Conversation

KapitanOczywisty
Copy link
Contributor

Implemented match statement added in PHP 8.0. https://wiki.php.net/rfc/match_expression_v2

'match_statement':
'patterns': [
{
'match': '\\s+(?=match\\b)'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've copied this from switch, but I really don't know why this is present and commit history didn't help with solving this mystery. Anyone?

This was referenced Dec 6, 2020
@KapitanOczywisty
Copy link
Contributor Author

@sadick254 2️⃣ to go ;)

@sadick254 sadick254 merged commit dc13a65 into atom:master Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants