Skip to content

Commit 3a139f5

Browse files
committed
Fix initial switch
1 parent 6d93490 commit 3a139f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

a-match-made-in-heaven.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
$asciiCode = null;
4+
echo match ($argv[1]) {
5+
'enter' => 13,
6+
'up' => 119,
7+
'down' => 73,
8+
'esc' => 27,
9+
default => 0
10+
};
11+
12+
echo $asciiCode;

0 commit comments

Comments
 (0)