Searched refs:else (Results 1 – 24 of 24) sorted by relevance
1 if/elseif/else9 } else if ($expr3) {11 } else {16 } else if ($expr3) {17 } else {
8 else {}10 if ($a) {} // without else15 else :18 if ($a): endif; // without else43 else: Stmt_Else(56 else: null80 else: Stmt_Else(85 0: // without else96 else: null100 0: // without else
7 else $C;45 else: Stmt_Else(
13 public Expr $else; variable in PhpParser\\Node\\Expr\\Ternary20 * @param Expr $else Expression for false23 public function __construct(Expr $cond, ?Expr $if, Expr $else, array $attributes = []) { argument27 $this->else = $else;
28 else: Expr_Variable(42 else: Expr_Variable(56 else: Expr_Variable(63 else: Expr_Variable(79 else: Expr_Ternary(86 else: Expr_Variable(133 else: Expr_Variable(
214 else: Scalar_Int(225 else: Scalar_Int(
19 else: null52 else: null81 else: null
33 else: null
51 else: null97 else: null
77 else:88 } else {
15 public ?Else_ $else; variable in PhpParser\\Node\\Stmt\\If_
80 else {}115 $stmts[12]->else = null;
97 $stmts[14]->else = new Stmt\Else_([]);172 } else {
21 $stmts[3]->expr->else = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
33 "else"
136 else: null162 else: null
23 } else {
79 basic symbol types in PHP (functions, constants and everything else).
178 Another way to remove nodes is to replace them with `null`. For example, all `else` statements could190 occurs inside `Node\Stmt\If_::$else`, which is nullable, so this particular replacement is safe.
314 else: Expr_Variable(
81 What else can it do?
376 `else if` structures will now omit redundant parentheses:380 else {387 else if ($x) {
174 * Print `else if { }` instead of `else { if { } }`.218 * Fixed formatting preservation for alternative elseif/else syntax.
Completed in 36 milliseconds