Home
last modified time | relevance | path

Searched refs:else (Results 1 – 24 of 24) sorted by relevance

/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dif.test1 if/elseif/else
9 } else if ($expr3) {
11 } else {
16 } else if ($expr3) {
17 } else {
/PHP-Parser/test/code/parser/stmt/
H A Dif.test8 else {}
10 if ($a) {} // without else
15 else :
18 if ($a): endif; // without else
43 else: Stmt_Else(
56 else: null
80 else: Stmt_Else(
85 0: // without else
96 else: null
100 0: // without else
H A DblocklessStatement.test7 else $C;
45 else: Stmt_Else(
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DTernary.php13 public Expr $else; variable in PhpParser\\Node\\Expr\\Ternary
20 * @param Expr $else Expression for false
23 public function __construct(Expr $cond, ?Expr $if, Expr $else, array $attributes = []) { argument
27 $this->else = $else;
/PHP-Parser/test/code/parser/expr/
H A DternaryAndCoalesce.test28 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(
H A Dconstant_expr.test214 else: Scalar_Int(
225 else: Scalar_Int(
/PHP-Parser/test/code/parser/stmt/class/
H A Dclass_position.test19 else: null
52 else: null
81 else: null
H A Dconditional.test33 else: null
/PHP-Parser/test/code/parser/
H A Dcomments.test51 else: null
97 else: null
/PHP-Parser/test/code/prettyPrinter/
H A Dcomments.test77 else:
88 } else {
/PHP-Parser/test/code/parser/stmt/function/
H A Dconditional.test33 else: null
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DIf_.php15 public ?Else_ $else; variable in PhpParser\\Node\\Stmt\\If_
/PHP-Parser/test/code/formatPreservation/
H A DremovalViaNull.test80 else {}
115 $stmts[12]->else = null;
H A DinsertionOfNullable.test97 $stmts[14]->else = new Stmt\Else_([]);
172 } else {
H A Dfixup.test21 $stmts[3]->expr->else = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
/PHP-Parser/tools/fuzzing/
H A Dphp.dict33 "else"
/PHP-Parser/test/code/parser/stmt/generator/
H A Dbasic.test136 else: null
162 else: null
/PHP-Parser/doc/component/
H A DError_handling.markdown23 } else {
H A DName_resolution.markdown79 basic symbol types in PHP (functions, constants and everything else).
H A DWalking_the_AST.markdown178 Another way to remove nodes is to replace them with `null`. For example, all `else` statements could
190 occurs inside `Node\Stmt\If_::$else`, which is nullable, so this particular replacement is safe.
/PHP-Parser/test/code/parser/expr/uvs/
H A DindirectCall.test314 else: Expr_Variable(
/PHP-Parser/doc/
H A D0_Introduction.markdown81 What else can it do?
/PHP-Parser/
H A DUPGRADE-5.0.md376 `else if` structures will now omit redundant parentheses:
380 else {
387 else if ($x) {
H A DCHANGELOG.md174 * Print `else if { }` instead of `else { if { } }`.
218 * Fixed formatting preservation for alternative elseif/else syntax.

Completed in 36 milliseconds