summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lang/comments.phpt23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/lang/comments.phpt b/tests/lang/comments.phpt
new file mode 100644
index 0000000000..682366ec27
--- /dev/null
+++ b/tests/lang/comments.phpt
@@ -0,0 +1,23 @@
+--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";
+
+?>
+--EXPECTF--
+#teste2
+#ola
+uhm # ah
+e este, # hein?