2018-07-07 12:45:32 +02:00
|
|
|
Comment at end of class (#509)
|
|
|
|
-----
|
|
|
|
<?php
|
|
|
|
class MyClass {
|
|
|
|
protected $a;
|
|
|
|
// my comment
|
|
|
|
}
|
|
|
|
-----
|
|
|
|
array(
|
|
|
|
0: Stmt_Class(
|
2020-09-13 21:01:17 +02:00
|
|
|
attrGroups: array(
|
|
|
|
)
|
2018-07-07 12:45:32 +02:00
|
|
|
flags: 0
|
|
|
|
name: Identifier(
|
|
|
|
name: MyClass
|
|
|
|
)
|
|
|
|
extends: null
|
|
|
|
implements: array(
|
|
|
|
)
|
|
|
|
stmts: array(
|
|
|
|
0: Stmt_Property(
|
2020-09-13 21:01:17 +02:00
|
|
|
attrGroups: array(
|
|
|
|
)
|
2018-07-07 12:45:32 +02:00
|
|
|
flags: MODIFIER_PROTECTED (2)
|
2019-01-05 12:06:18 +01:00
|
|
|
type: null
|
2018-07-07 12:45:32 +02:00
|
|
|
props: array(
|
|
|
|
0: Stmt_PropertyProperty(
|
|
|
|
name: VarLikeIdentifier(
|
|
|
|
name: a
|
|
|
|
)
|
|
|
|
default: null
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Stmt_Nop(
|
|
|
|
comments: array(
|
|
|
|
0: // my comment
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|