]> granicus.if.org Git - php/commitdiff
- $clone -> $that
authorAndi Gutmans <andi@php.net>
Tue, 5 Nov 2002 19:29:46 +0000 (19:29 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 5 Nov 2002 19:29:46 +0000 (19:29 +0000)
Zend/tests/zend2.php

index 07d0a766d4bdf74dfeeab0c240f7c6f8e8c336a7..100bdbec9510c86701f266867c73e0fd8183ace8 100644 (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++;
                }