diff options
Diffstat (limited to 'testcode/test1.php')
-rw-r--r-- | testcode/test1.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testcode/test1.php b/testcode/test1.php new file mode 100644 index 0000000..9fd2510 --- /dev/null +++ b/testcode/test1.php @@ -0,0 +1,27 @@ +<?php + + /** + * Test file for php_count, part of SLOCCount. This is a C-style comment. + */ + + // This is a C++-style comment. + + # This is a shell-style comment. + + # Here are 13 lines of code: + + function get() + { + $total = 0; + $simplestring = 'hello'; + $simplestring = '\\hello\''; + $funkystring = "hello"; + $funkystring = "$hi\\\""; + $heretest <<< wiggle +juggle + wiggle /* This doesn't end the string, so this isn't a C comment. +wiggle; + return 0; + } + +?> |