From ae5b7a122f8e24dd38faa476cb3a1ec84f13b564 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 12 Feb 2023 19:09:52 +0900 Subject: スライドを作成 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catchline.php | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 catchline.php (limited to 'catchline.php') diff --git a/catchline.php b/catchline.php new file mode 100644 index 0000000..058abeb --- /dev/null +++ b/catchline.php @@ -0,0 +1,62 @@ +getPrevious()) printf('%c', $e->getLine() + 23); + echo "\n"; +} +function f(int $i) { + if ($i < 0) f(); + try { + match ($i) { + 0 => X, // 12行目 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 => X, // 49行目 + + + + + + + + 1, 3 => X, // 57行目 + }; + } finally { + f($i - 1); + } +} -- cgit v1.2.3-70-g09d2