Markus Fischer wrote:
> On Mon, Jun 03, 2002 at 10:29:19AM +0300, Michael Stolovitzsky wrote :
>> If I understand correctly, given $bar is an object
>>
>> $foo = $bar
>>
>> will copy entire contents of $bar into foo. Following question: what
>> happens with $foo = new Foo? Does the object get c
On Mon, Jun 03, 2002 at 10:29:19AM +0300, Michael Stolovitzsky wrote :
> If I understand correctly, given $bar is an object
>
> $foo = $bar
>
> will copy entire contents of $bar into foo. Following question: what happens
> with $foo = new Foo? Does the object get created, copied into $foo and
If I understand correctly, given $bar is an object
$foo = $bar
will copy entire contents of $bar into foo. Following question: what happens
with $foo = new Foo? Does the object get created, copied into $foo and then
destroyed, while the copy in $foo lives?
In other words, is there a perform