tests/inputs/test1.inc
raw| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Test file for php_count, part of SLOCCount. This is a C-style comment. |
| 5 | * This file is different from .php. |
| 6 | */ |
| 7 | |
| 8 | // This is a C++-style comment. |
| 9 | |
| 10 | # This is a shell-style comment. |
| 11 | |
| 12 | # Here are 9 lines of code: |
| 13 | |
| 14 | function get() |
| 15 | { |
| 16 | $total = 0; |
| 17 | $simplestring = 'hello'; |
| 18 | $simplestring = '\\hello\''; |
| 19 | $funkystring = "hello"; |
| 20 | $funkystring = "$hi\\\""; |
| 21 | return 0; |
| 22 | } |
| 23 | ?> |