note 116756 added to language.oop5.serialization
| From: | michael at smith-li dot com | Date: | Mon, 23 Feb 2015 19:28:36 +0000 |
| Subject: | note 116756 added to language.oop5.serialization | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201793@lists.php.net to get a copy of this message | ||
Reading this page you'd be left with the impression that a class's
serialize
and unserialize methods are unrelated to the serialize and
unserialize core functions; that only __sleep and __unsleep
allow you to customize an object's serialization interface. But look at http://php.net/manual/en/class.serializable.php
and you'll see that there is a more straightforward way to control how a user-defined object is
serialized and unserialized.
----
Server IP: 72.52.91.14
Probable Submitter: 208.247.73.130
----
Manual Page -- http://php.net/manual/en/language.oop5.serialization.php
Edit -- https://master.php.net/note/edit/116756
Del: integrated -- https://master.php.net/note/delete/116756/integrated
Del: useless -- https://master.php.net/note/delete/116756/useless
Del: bad code -- https://master.php.net/note/delete/116756/bad+code
Del: spam -- https://master.php.net/note/delete/116756/spam
Del: non-english -- https://master.php.net/note/delete/116756/non-english
Del: in docs -- https://master.php.net/note/delete/116756/in+docs
Del: other reasons-- https://master.php.net/note/delete/116756
Reject -- https://master.php.net/note/reject/116756
Search -- https://master.php.net/manage/user-notes.php