API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Internal
Lexer
Node
Expr
Name
Scalar
Stmt
TraitUseAdaptation
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Rules
Testing
Type
Classes
Block
Break_
Case_
Catch_
Class_
ClassConst
ClassLike
ClassMethod
Const_
Continue_
Declare_
DeclareDeclare
Do_
Echo_
Else_
ElseIf_
Enum_
EnumCase
Expression
Finally_
For_
Foreach_
Function_
Global_
Goto_
GroupUse
HaltCompiler
If_
InlineHTML
Interface_
Label
Namespace_
Nop
Property
PropertyProperty
Return_
Static_
StaticVar
Switch_
Trait_
TraitUse
TraitUseAdaptation
TryCatch
Unset_
Use_
UseUse
While_
Overview
Namespace
Class
Tree
1:
<?php
declare
(strict_types=
1
);
2:
3:
namespace
PhpParser\Node\Stmt;
4:
5:
require
__DIR__ .
'/../StaticVar.php'
;
6:
7:
if
(
false
) {
8:
// For classmap-authoritative support.
9:
class
StaticVar
extends
\PhpParser\Node\StaticVar {
10:
}
11:
}
12: