1
Parse error: parse error, unexpected T_CLONE, expecting
T_STRING in /opt/lampp/htdocs/xampp/iiss/kernel/object.php on
line 504
------
function &clone()
{
$class = get_class($this);
$clone = new $class();
foreach ($this->vars as $k => $v)
{
$clone->assignVar($k, $v['value']);
}
//need this to notify the handler class that this is a newly created
object
$clone->setNew();
return $clone;
}
-------
Server:
Apache, PHP5, Linux
What's wrong ?