- $clone -> $that

This commit is contained in:
Andi Gutmans 2002-11-05 19:29:46 +00:00
parent c92758c89e
commit f40e3b8548

View File

@ -264,7 +264,7 @@ Example 8: __clone()
function __clone()
{
$this->name = $clone->name;
$this->name = $that->name;
$this->address = "New York";
$this->id = self::$id++;
}