2014-11-13 20:18:49 +01:00
|
|
|
Implicitly public properties and methods
|
|
|
|
-----
|
|
|
|
<?php
|
|
|
|
|
|
|
|
abstract class A {
|
|
|
|
var $a;
|
|
|
|
static $b;
|
|
|
|
abstract function c();
|
|
|
|
final function d() {}
|
|
|
|
static function e() {}
|
|
|
|
final static function f() {}
|
2015-03-02 11:33:41 +01:00
|
|
|
function g() {}
|
2014-11-13 20:18:49 +01:00
|
|
|
}
|
|
|
|
-----
|
|
|
|
array(
|
|
|
|
0: Stmt_Class(
|
2016-07-25 13:53:49 +02:00
|
|
|
flags: MODIFIER_ABSTRACT (16)
|
2017-04-28 19:09:39 +02:00
|
|
|
name: Identifier(
|
|
|
|
name: A
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
extends: null
|
|
|
|
implements: array(
|
|
|
|
)
|
|
|
|
stmts: array(
|
|
|
|
0: Stmt_Property(
|
2016-07-25 13:33:19 +02:00
|
|
|
flags: 0
|
2019-01-05 12:06:18 +01:00
|
|
|
type: null
|
2014-11-13 20:18:49 +01:00
|
|
|
props: array(
|
|
|
|
0: Stmt_PropertyProperty(
|
2017-04-28 19:09:39 +02:00
|
|
|
name: VarLikeIdentifier(
|
|
|
|
name: a
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
default: null
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Stmt_Property(
|
2016-07-25 13:53:49 +02:00
|
|
|
flags: MODIFIER_STATIC (8)
|
2019-01-05 12:06:18 +01:00
|
|
|
type: null
|
2014-11-13 20:18:49 +01:00
|
|
|
props: array(
|
|
|
|
0: Stmt_PropertyProperty(
|
2017-04-28 19:09:39 +02:00
|
|
|
name: VarLikeIdentifier(
|
|
|
|
name: b
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
default: null
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
2: Stmt_ClassMethod(
|
2016-07-25 13:53:49 +02:00
|
|
|
flags: MODIFIER_ABSTRACT (16)
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
2017-04-28 19:09:39 +02:00
|
|
|
name: Identifier(
|
|
|
|
name: c
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
params: array(
|
|
|
|
)
|
2015-03-12 13:17:31 +01:00
|
|
|
returnType: null
|
2014-11-13 20:18:49 +01:00
|
|
|
stmts: null
|
|
|
|
)
|
|
|
|
3: Stmt_ClassMethod(
|
2016-07-25 13:53:49 +02:00
|
|
|
flags: MODIFIER_FINAL (32)
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
2017-04-28 19:09:39 +02:00
|
|
|
name: Identifier(
|
|
|
|
name: d
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
params: array(
|
|
|
|
)
|
2015-03-12 13:17:31 +01:00
|
|
|
returnType: null
|
2014-11-13 20:18:49 +01:00
|
|
|
stmts: array(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
4: Stmt_ClassMethod(
|
2016-07-25 13:53:49 +02:00
|
|
|
flags: MODIFIER_STATIC (8)
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
2017-04-28 19:09:39 +02:00
|
|
|
name: Identifier(
|
|
|
|
name: e
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
params: array(
|
|
|
|
)
|
2015-03-12 13:17:31 +01:00
|
|
|
returnType: null
|
2014-11-13 20:18:49 +01:00
|
|
|
stmts: array(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
5: Stmt_ClassMethod(
|
2016-07-25 13:53:49 +02:00
|
|
|
flags: MODIFIER_STATIC | MODIFIER_FINAL (40)
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
2017-04-28 19:09:39 +02:00
|
|
|
name: Identifier(
|
|
|
|
name: f
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
params: array(
|
|
|
|
)
|
2015-03-12 13:17:31 +01:00
|
|
|
returnType: null
|
2014-11-13 20:18:49 +01:00
|
|
|
stmts: array(
|
|
|
|
)
|
|
|
|
)
|
2015-03-02 11:33:41 +01:00
|
|
|
6: Stmt_ClassMethod(
|
2016-07-25 13:33:19 +02:00
|
|
|
flags: 0
|
2015-03-02 11:33:41 +01:00
|
|
|
byRef: false
|
2017-04-28 19:09:39 +02:00
|
|
|
name: Identifier(
|
|
|
|
name: g
|
|
|
|
)
|
2015-03-02 11:33:41 +01:00
|
|
|
params: array(
|
|
|
|
)
|
2015-03-12 13:17:31 +01:00
|
|
|
returnType: null
|
2015-03-02 11:33:41 +01:00
|
|
|
stmts: array(
|
|
|
|
)
|
|
|
|
)
|
2014-11-13 20:18:49 +01:00
|
|
|
)
|
|
|
|
)
|
2016-07-25 13:33:19 +02:00
|
|
|
)
|