]> granicus.if.org Git - php/commitdiff
add
authorNuno Lopes <nlopess@php.net>
Sun, 6 Jul 2008 15:40:39 +0000 (15:40 +0000)
committerNuno Lopes <nlopess@php.net>
Sun, 6 Jul 2008 15:40:39 +0000 (15:40 +0000)
tests/lang/comments.phpt [new file with mode: 0644]

diff --git a/tests/lang/comments.phpt b/tests/lang/comments.phpt
new file mode 100644 (file)
index 0000000..682366e
--- /dev/null
@@ -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?