note 54997 added to function.serialize
| From: | zmrzli_at_mindspring_dot_com at osu1 dot php dot net | Date: | Thu, 21 Jul 2005 23:03:21 +0000 |
| Subject: | note 54997 added to function.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92267@lists.php.net to get a copy of this message | ||
Is it just me or static class variables are not being serialized?
I can reconstruct the content of the static class variable myself in the my class load() method, but
the problem is when I put the class into $_SESSION variable. On the next session I get that variable
and static value is gone. How to get around this?
Miro
----
Manual Page -- http://www.php.net/manual/en/function.serialize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54997
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54997&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54997&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54997&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54997&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54997&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54997&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54997&report=yes
Search -- http://master.php.net/manage/user-notes.php