1
VegaNetwork
object.php - parse error
  • 2004/9/30 17:21

  • VegaNetwork

  • Just popping in

  • Posts: 5

  • Since: 2004/5/15


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 ?

2
Mithrandir
Re: object.php - parse error

You are using PHP5 - please search for "parse error, unexpected T_CLONE"

Login

Who's Online

229 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits