Compiler.php
protected function createCode($code, $prefix = '<?php ', $suffix = '?>')
    {

        if (strpos($code, "\n") !== false) {

            $this->level++;
            $code = implode($this->newLine().$this->indent(), preg_split("/\n[\t ]*/", $code))
                .$this->newLine().$this->indent(-1);
            $this->level--;
        }

        return $prefix.$code.$suffix;
    }
protected function createCode($code, $prefix = '<?php ', $suffix = '?>')
    {

        if (strpos($code, "\n") !== false) {

            $this->level++;
            $code = implode($this->newLine().$this->indent(), preg_split("/\n[\t ]*/", $code))
                .$this->newLine().$this->indent(-1);
            $this->level--;
        }

        return $prefix.$code.$suffix;
    }
protected function createCode ( $ code , $ prefix = '<?php ' , $ suffix = '?>' ) { if ( strpos ( $ code , "\n" ) !== false ) { $ this -> level ++ ; $ code = implode ( $ this -> newLine ( ) . $ this -> indent ( ) , preg_split ( "/\n[\t ]*/" , $ code ) ) . $ this -> newLine ( ) . $ this -> indent ( - 1 ) ; $ this -> level -- ; } return $ prefix . $ code . $ suffix ; }
Creates a PHP code expression.

By default it will have <?php ? >-style

@param string $code   the PHP code
@param string $prefix the PHP start tag
@param string $suffix the PHP end tag

@return string the PHP expression
Creates a PHP code expression .