aboutsummaryrefslogtreecommitdiffhomepage
path: root/polyglot.txt
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-01-17 01:21:52 +0900
committernsfisis <nsfisis@gmail.com>2023-01-17 01:21:57 +0900
commit67744974df46b1f78de9acc227f62d1e6db5f393 (patch)
treea75d847d347f9f9c81bb8fe82848d9b158272e77 /polyglot.txt
parent00b1a28374f71dcb521662788343cd72f53f5c22 (diff)
downloadphpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.tar.gz
phpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.tar.zst
phpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.zip
スライド作成
Diffstat (limited to 'polyglot.txt')
-rw-r--r--polyglot.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/polyglot.txt b/polyglot.txt
new file mode 100644
index 0000000..a61b4fd
--- /dev/null
+++ b/polyglot.txt
@@ -0,0 +1,12 @@
+#<?php
+$a = 'a'; $/* 0; # */$a
+=begin
+();
+echo "php\n";
+function begin() {} $a = <<<nil
+=end
+puts "#ruby"; '
+=cut
+print "#perl\n";
+'# ';
+nil;