protected _compileComments ( string $value ) : string | ||
$value | string | |
Результат | string |
protected function _compileComments($value)
{
$pattern = sprintf('/%s--(.*?)--%s/s', $this->_escapedTags[0], $this->_escapedTags[1]);
return preg_replace($pattern, '<?php /*$1*/ ?> ', $value);
}