diff options
author | Nuno Lopes <nlopess@php.net> | 2008-07-06 15:40:11 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-07-06 15:40:11 +0000 |
commit | 671caa1d5d46f1cea9d0d2e643cef7d0943a53c7 (patch) | |
tree | 2ae90499ef967679039617d17abd3c8e884e6d57 /tests/lang | |
parent | 0686ad43137dbcd6abd5e0cf282cb5be37d365a9 (diff) | |
download | php-git-671caa1d5d46f1cea9d0d2e643cef7d0943a53c7.tar.gz |
add test for #-style comments. passes fine on both 5.2 and 5.3
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/comments.phpt | 23 |
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? |