summaryrefslogtreecommitdiff
path: root/testcode/test1.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testcode/test1.inc')
-rw-r--r--testcode/test1.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/testcode/test1.inc b/testcode/test1.inc
new file mode 100644
index 0000000..a56d14e
--- /dev/null
+++ b/testcode/test1.inc
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Test file for php_count, part of SLOCCount. This is a C-style comment.
+ * This file is different from .php.
+ */
+
+ // This is a C++-style comment.
+
+ # This is a shell-style comment.
+
+ # Here are 9 lines of code:
+
+ function get()
+ {
+ $total = 0;
+ $simplestring = 'hello';
+ $simplestring = '\\hello\'';
+ $funkystring = "hello";
+ $funkystring = "$hi\\\"";
+ return 0;
+ }
+?>