abstract class ExpressionNode extends Node

Base for PHP expression nodes (variables, operators, calls, literals).

Methods

bool
isWritable()

Checks whether the expression can be used as the target of an assignment.

bool
isVariable()

Checks whether the expression represents a variable-like access (variable, property, or array element).

bool
isCall()

Checks whether the expression is a function or method call.

Details

at line 21
bool isWritable()

Checks whether the expression can be used as the target of an assignment.

Return Value

bool

at line 33
bool isVariable()

Checks whether the expression represents a variable-like access (variable, property, or array element).

Return Value

bool

at line 45
bool isCall()

Checks whether the expression is a function or method call.

Return Value

bool