请教:如何在PHP4中使用FastTemplate模板?
调用模板文件后,出现如下错误:
Fatal error: Cannot redeclare clear_parse() in c:\apache\htdocs\test\template-table\class.FastTemplate.php3 on line 666
class FastTemplate {
……
……
function clear_parse () //666行
{
$this->clear_assign();
}
function clear_assign ()
{
if(!(empty($this->PARSEVARS)))
{
while(list($Ref,$Val) = each ($this->PARSEVARS) )
{
unset($this->PARSEVARS["$Ref"]);
}
}
}
……
……
}
好象提示重复定义。各位高手如何解决啊?再问一下,FastTemplate模板php4后好象应用的不多,是不是可用性不高呢