Welcome Guest, Not a member yet? Register   Sign In
Strange leading tag at the eval. [CI_Loader::_ci_load]


Please, could You explain me the purpose of the PHP closed tag that added at the front of the eval string (when loading view file without short tags)?

CI_Loader::_ci_load (line:679)
echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));

I wonder why do we need this <b>'?&gt;'</b> ?


Messages In This Thread
Strange leading tag at the eval. [CI_Loader::_ci_load] - by El Forum - 09-03-2011, 12:34 AM

Theme © iAndrew 2016 - Forum software by © MyBB