src/PhpToZephir/Converter/Printer/InfixOpPrinter.php
public function convert($type, Node $leftNode, $operatorString, Node $rightNode)
    {
        list($precedence, $associativity) = $this->dispatcher->getPrecedenceMap($type);

        return $this->dispatcher->pPrec($leftNode, $precedence, $associativity, -1)
             .$operatorString
             .$this->dispatcher->pPrec($rightNode, $precedence, $associativity, 1);
    }
public function convert($type, Node $leftNode, $operatorString, Node $rightNode)
    {
        list($precedence, $associativity) = $this->dispatcher->getPrecedenceMap($type);

        return $this->dispatcher->pPrec($leftNode, $precedence, $associativity, -1)
             .$operatorString
             .$this->dispatcher->pPrec($rightNode, $precedence, $associativity, 1);
    }
Pretty prints an array of nodes (statements) and indents them optionally.


@return string Pretty printed statements