src/PhpToZephir/Converter/Printer/Stmt/ForeachPrinter.php
public function convert(Stmt\Foreach_ $node)
    {
        return 'for '.(null !== $node->keyVar ? $this->dispatcher->p($node->keyVar).', ' : '').$this->dispatcher->p($node->valueVar).
               ' in '.$this->dispatcher->p($node->expr).' {'.
               $this->dispatcher->pStmts($node->stmts)."\n".'}';
    }
public function convert(Stmt\Foreach_ $node)
    {
        return 'for '.(null !== $node->keyVar ? $this->dispatcher->p($node->keyVar).', ' : '').$this->dispatcher->p($node->valueVar).
               ' in '.$this->dispatcher->p($node->expr).' {'.
               $this->dispatcher->pStmts($node->stmts)."\n".'}';
    }
@param Stmt\Foreach_ $node

@return string