note 57621 added to function.serialize
| From: | eggyknapatgmaildotcom at osu1 dot php dot net | Date: | Sun, 09 Oct 2005 04:12:20 +0000 |
| Subject: | note 57621 added to function.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96707@lists.php.net to get a copy of this message | ||
Be careful trying to serialize objects containing private or protected data members. It appears that
the serialization process includes characters in the result string to indicate the visibility of
each member, but the characters used to denote protected or private data are outside the normal
character set and can cause problems as you pass them through applications. I haven't found the
culprit in my particular case, so I can't say that this is a bug in PHP, but it certainly is
causing me some annoyance in my particular situation.
----
Manual Page -- http://www.php.net/manual/en/function.serialize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57621
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57621&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57621&report=yes
Search -- http://master.php.net/manage/user-notes.php