protected function compile_php_tags($value) { return str_replace(array('{%', '%}'), array('<?php', '?>'), $value); }