summaryrefslogtreecommitdiff
path: root/tests/lang/comments.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/comments.phpt')
-rw-r--r--tests/lang/comments.phpt24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/lang/comments.phpt b/tests/lang/comments.phpt
new file mode 100644
index 0000000..ca8b1d2
--- /dev/null
+++ b/tests/lang/comments.phpt
@@ -0,0 +1,24 @@
+--TEST--
+#-style comments
+--FILE--
+#teste
+#teste2
+<?php
+
+#ahahah
+#ahhfhf
+
+echo '#ola'; //?
+echo "\n";
+echo 'uhm # ah'; #ah?
+echo "\n";
+echo "e este, # hein?";
+echo "\n";
+
+?>
+--EXPECT--
+#teste
+#teste2
+#ola
+uhm # ah
+e este, # hein?