On Thu, February 7, 2008 1:15 am, Michael Moyle wrote:
> I am new to the list and have a question that inspired me to join the
> list as I can not find any answer online.
>
> When a object reference is passed to the $_SESSION array what happens
> to
> the object? Is the object serialized and saved in session (in this
> case
> file)? Or just the reference with the object in memory remaining on
> the
> heap?

When a PHP script ends, nothing, and I mean nothing, is left on the heap.

The conclusion is left as an exercise for the reader.

:-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to