34a9f93d8fd5acc27e774e4279bcf0bfd0acad07
[yaffs-website] / vendor / nikic / php-parser / test / code / prettyPrinter / comments.test
1 Comments
2 -----
3 <?php
4
5 function justForIndentation()
6 {
7     // Some text
8     # Some text
9     /* Some text */
10     /** Some text */
11     /**
12      * Some text.
13      * Some more text.
14      */
15     /*
16      * Some text.
17      * Some more text.
18      */
19     /*
20         Some text.
21         Some more text.
22     */
23     /* Some text.
24        More text. */
25     /* Some text.
26        More text.
27        Even more text. */
28     $foo;
29 }
30 -----
31 function justForIndentation()
32 {
33     // Some text
34     # Some text
35     /* Some text */
36     /** Some text */
37     /**
38      * Some text.
39      * Some more text.
40      */
41     /*
42      * Some text.
43      * Some more text.
44      */
45     /*
46         Some text.
47         Some more text.
48     */
49     /* Some text.
50        More text. */
51     /* Some text.
52        More text.
53        Even more text. */
54     $foo;
55 }
56 -----
57 <?php
58
59 function test()
60 {
61     // empty
62 }
63 -----
64 function test()
65 {
66     // empty
67 }