protected function _encodeCallback(array $matches) {
        $cacheSize = count($this->_cache);
        $this->_cache[$cacheSize] = $matches[2];

        return '[code' . $matches[1] . ']$$CODE' . $cacheSize . '$$[/code]';
    }
protected function _encodeCallback(array $matches) {
        $cacheSize = count($this->_cache);
        $this->_cache[$cacheSize] = $matches[2];

        return '[code' . $matches[1] . ']$$CODE' . $cacheSize . '$$[/code]';
    }
protected function _encodeCallback ( array $ matches ) { $ cacheSize = count ( $ this -> _cache ) ; $ this -> _cache [ $ cacheSize ] = $ matches [ 2 ] ; return '[code' . $ matches [ 1 ] . ']$$CODE' . $ cacheSize . '$$[/code]' ; }
Encode content using base64.

@param array $matches
@return string
Encode content using base64 .