diff --git a/conditions/match_error.php b/conditions/match_error.php index 3fb503d..11076db 100644 --- a/conditions/match_error.php +++ b/conditions/match_error.php @@ -1,7 +1,10 @@ 31, 'Apr', 'Jun', 'Sep', 'Nov' => 30, 'Feb' => 28, + + //actually 👆🤓 + default => 31, }; + echo $day; // PHP Fatal error: Uncaught UnhandledMatchError: Unhandled match case 'PHP'