Let’s say I have function named "render", which looks like this:

<?php
function render($template, $vars){
    extract($vars);
    include("templates/".$template.'.php');
}
?>

I also have template "some_tmplt.php", which I need to render 100 times. Will PHP read, parse and compile this file 100 times, or will it "remember" file's content?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to