Debian Codegraph @

tests/inputs/test1.php

raw
1 <?php
2
3 /**
4 * Test file for php_count, part of SLOCCount. This is a C-style comment.
5 */
6
7 // This is a C++-style comment.
8
9 # This is a shell-style comment.
10
11 # Here are 13 lines of code:
12
13 function get()
14 {
15 $total = 0;
16 $simplestring = 'hello';
17 $simplestring = '\\hello\'';
18 $funkystring = "hello";
19 $funkystring = "$hi\\\"";
20 $heretest <<< wiggle
21 juggle
22 wiggle /* This doesn't end the string, so this isn't a C comment.
23 wiggle;
24 return 0;
25 }
26
27 ?>