note 30695 added to language.references
| From: | php dot net_usernote at CustomCDROM dot de | Date: | Wed, 26 Mar 2003 01:16:21 +0000 |
| Subject: | note 30695 added to language.references | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45829@lists.php.net to get a copy of this message | ||
It should be pointed out that references are UNROLLED if stored in a session, that is, a copy is
made for each reference. If you compare references to hard links in a Unix file system, as this
chapter does, think of "storing a session" as a "cp -R".
That really bit me when I nearly finished my library and wondered why I could not use it with
PHP's session management. :-/
--
http://www.php.net/manual/en/language.references.php
http://master.php.net/manage/user-notes.php?action=edit+30695
http://master.php.net/manage/user-notes.php?action=delete+30695
http://master.php.net/manage/user-notes.php?action=reject+30695