Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
// Some code goes here.
3
$code = 'hello';
4
 
5
// This comment contains # multiple
6
// hash signs (#).
7
$code = 'hello';
8
 
9
/*
10
 * Here is a small function comment.
11
 */
12
function test()
13
{
14
    // Some code goes here.
15
    $code = 'hello';
16
 
17
    # This comment is banned.
18
    $code = 'hello';
19
 
20
}//end test()
21
 
22
/*
23
    A longer comment goes here.
24
    It spans multiple lines.
25
*/
26
 
27
# This is a long comment
28
# that is banned.
29
 
30
 
31
 
32
// some code goes here!
33
 
34
// This comment contains # multiple
35
// hash signs (#) but no
36
// full stop
37
$code = 'hello';
38
 
39
/*
40
 * Here is a small function comment
41
 */
42
function test()
43
{
44
    // Some code goes here
45
 
46
}//end test()
47
 
48
/*
49
    A longer comment goes here.
50
    It spans multiple lines!!
51
    Or does it?
52
*/
53
 
54
// 0This is a simple multi-line
55
// comment!
56
$code = 'hello';
57
 
58
//This is not valid.
59
$code = 'hello';
60
 
61
//  Neither is this!
62
$code = 'hello';
63
 
64
//
65
$code = 'hello';
66
 
67
/** Neither is this! **/
68
$code = 'hello';
69
 
70
class MyClass
71
{
72
    /**
73
     * Represents a left orientation for the widget.
74
     *
75
     * @var   integer
76
     * @since 4.0.0
77
     */
78
    const LEFT = 1;
79
}
80
?>