Hey, sorry to bother you all but I have another obscure question about
objects in PHP (yes I really do care about the answer)...
I'm simply wondering if I unset() a reference to an object, whether or
not it destroys that object, if there are other references to it that
still exist.
Erik Price wrote:
Hey, sorry to bother you all but I have another obscure question about
objects in PHP (yes I really do care about the answer)...
I'm simply wondering if I unset() a reference to an object, whether or
not it destroys that object, if there are other references to it that
On Wednesday, April 17, 2002, at 03:59 PM, Robert Cummings wrote:
Now if what you meant was the following:
$objectFoo = new MyObject();
$objectFee = $objectFoo;
unset( $objectFoo );
Then the object shouldn't be deleted since $objectFee is still
referencing
it. You will just break
Erik Price wrote:
On Wednesday, April 17, 2002, at 03:59 PM, Robert Cummings wrote:
Now if what you meant was the following:
$objectFoo = new MyObject();
$objectFee = $objectFoo;
unset( $objectFoo );
Then the object shouldn't be deleted since $objectFee is still
4 matches
Mail list logo