API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Internal
Lexer
Node
Expr
AssignOp
BinaryOp
Cast
Name
Scalar
Stmt
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Rules
Testing
Type
Classes
Array_
ArrayDimFetch
ArrayItem
ArrowFunction
Assign
AssignOp
AssignRef
BinaryOp
BitwiseNot
BooleanNot
CallLike
Cast
ClassConstFetch
Clone_
Closure
ClosureUse
ConstFetch
Empty_
Error
ErrorSuppress
Eval_
Exit_
FuncCall
Include_
Instanceof_
Isset_
List_
Match_
MethodCall
New_
NullsafeMethodCall
NullsafePropertyFetch
PostDec
PostInc
PreDec
PreInc
Print_
PropertyFetch
ShellExec
StaticCall
StaticPropertyFetch
Ternary
Throw_
UnaryMinus
UnaryPlus
Variable
Yield_
YieldFrom
Overview
Namespace
Class
Tree
1:
<?php
declare
(strict_types=
1
);
2:
3:
namespace
PhpParser\Node\Expr;
4:
5:
require
__DIR__ .
'/../ArrayItem.php'
;
6:
7:
if
(
false
) {
8:
// For classmap-authoritative support.
9:
class
ArrayItem
extends
\PhpParser\Node\ArrayItem {
10:
}
11:
}
12: