src/PhpToZephir/Converter/Printer/Expr/FuncCallPrinter.php
public function convert(Expr\FuncCall $node)
    {
        $collected = $this->assignManipulator->collectAssignInCondition($node->args);
        $node->args = $this->assignManipulator->transformAssignInConditionTest($node->args);

        if ($node->name instanceof Expr\Variable) {
            $instanciation = '{'.$this->dispatcher->p($node->name).'}';
        } else {
            $instanciation = $this->dispatcher->p($node->name);
        }

        return $collected->getCollected() . $instanciation . '('.$this->dispatcher->pCommaSeparated($node->args).')';
    }
public function convert(Expr\FuncCall $node)
    {
        $collected = $this->assignManipulator->collectAssignInCondition($node->args);
        $node->args = $this->assignManipulator->transformAssignInConditionTest($node->args);

        if ($node->name instanceof Expr\Variable) {
            $instanciation = '{'.$this->dispatcher->p($node->name).'}';
        } else {
            $instanciation = $this->dispatcher->p($node->name);
        }

        return $collected->getCollected() . $instanciation . '('.$this->dispatcher->pCommaSeparated($node->args).')';
    }
@param Expr\FuncCall $node

@return string