Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
PHP
/
Enums
A new enum case reaches a match expression that has no matching arm and no default. What …
from Enums
PHP 8.3.33
intermediate
1 min
A new enum case reaches a match expression that has no matching arm and no default. What does PHP itself do?
It throws UnhandledMatchError when that path executes.
It rejects the enum declaration at compile time.
It returns null from the match expression.
It automatically selects the last arm.
Check
Ask AI about this kata
Report an error
next kata
Which three lines are printed?
Predict the output
A new version is available
Reload