hi all,
if i reference a session using a local variable with the following code:
does that mean that when i unset the variable that also unsets the session???PHP Code:<?php $myvar = &$_SESSION['myvar']; ?>
cheers,
Tal.
| SitePoint Sponsor |
hi all,
if i reference a session using a local variable with the following code:
does that mean that when i unset the variable that also unsets the session???PHP Code:<?php $myvar = &$_SESSION['myvar']; ?>
cheers,
Tal.




Yes. This is the kind of thing that you just try out!Originally Posted by talorlik
-matt





With references, it's a pointer and not a copy, from what I understand anyways![]()
Bookmarks