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(
|
|
|
|
type: 16
|
|
|
|
name: A
|
|
|
|
extends: null
|
|
|
|
implements: array(
|
|
|
|
)
|
|
|
|
stmts: array(
|
|
|
|
0: Stmt_Property(
|
2015-03-02 11:33:41 +01:00
|
|
|
type: 0
|
2014-11-13 20:18:49 +01:00
|
|
|
props: array(
|
|
|
|
0: Stmt_PropertyProperty(
|
|
|
|
name: a
|
|
|
|
default: null
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Stmt_Property(
|
2015-03-02 11:33:41 +01:00
|
|
|
type: 8
|
2014-11-13 20:18:49 +01:00
|
|
|
props: array(
|
|
|
|
0: Stmt_PropertyProperty(
|
|
|
|
name: b
|
|
|
|
default: null
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
2: Stmt_ClassMethod(
|
2015-03-02 11:33:41 +01:00
|
|
|
type: 16
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
|
|
|
name: c
|
|
|
|
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(
|
2015-03-02 11:33:41 +01:00
|
|
|
type: 32
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
|
|
|
name: d
|
|
|
|
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(
|
2015-03-02 11:33:41 +01:00
|
|
|
type: 8
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
|
|
|
name: e
|
|
|
|
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(
|
2015-03-02 11:33:41 +01:00
|
|
|
type: 40
|
2014-11-13 20:18:49 +01:00
|
|
|
byRef: false
|
|
|
|
name: f
|
|
|
|
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(
|
|
|
|
type: 0
|
|
|
|
byRef: false
|
|
|
|
name: g
|
|
|
|
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
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|