Re: clone wars

From: Date: Sun, 15 Feb 2004 22:47:59 +0000
Subject: Re: clone wars
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-7853@lists.php.net to get a copy of this message
Hello, most probably that property is a reference in which case the result is correct. Sunday, February 15, 2004, 11:45:56 PM, you wrote: > It appears that cloning is broken, since a modification to the clone > modifies the original. For my __clone method implementation, I allow > all of the variables to be set by default except for one. But this > problem persists even when I don't modify that one variable. -- Best regards, Marcus mailto:helly@php.net

« previous php.internals (#7853) next »