Matches ----- 'one' }; ----- $stmts[0]->expr->expr->arms[] = new Node\MatchArm(null, new Scalar\String_('two')); ----- 'one', default => 'two' }; ----- 'test', }; ----- $stmts[0]->expr->expr->arms[0]->conds[] = new Scalar\LNumber(3); ----- 'test', }; ----- 'one', 2 => 'two', 3 => 'three', }; ----- array_splice($stmts[0]->expr->expr->arms, 1, 1, []); ----- 'one', 3 => 'three', }; ----- 'test', }; ----- $stmts[0]->expr->expr->arms[0]->conds = [new Scalar\LNumber(1)]; ----- 'test', }; ----- 'test', }; ----- $stmts[0]->expr->expr->arms[0]->conds = null; ----- 'test', };