note 113629 added to serializable.serialize
| From: | crog at gustavus dot edu | Date: | Thu, 07 Nov 2013 17:30:21 +0000 |
| Subject: | note 113629 added to serializable.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197455@lists.php.net to get a copy of this message | ||
The documentation here is somewhat misleading. Where it says "This method acts as the
destructor of the object. The __destruct() method will not be called after this method," I
believe the intent is not that the destructor is not run on the object itself, but that the
destructor is not called /as part of the serialization process/.
That is, the object will still be destructed as it goes out of scope as normal, but the destructor
is not called as a part of the object's serialization.
----
Server IP: 192.41.45.150
Probable Submitter: 138.236.71.114
----
Manual Page -- http://php.net/manual/en/serializable.serialize.php
Edit -- https://master.php.net/note/edit/113629
Del: integrated -- https://master.php.net/note/delete/113629/integrated
Del: useless -- https://master.php.net/note/delete/113629/useless
Del: bad code -- https://master.php.net/note/delete/113629/bad+code
Del: spam -- https://master.php.net/note/delete/113629/spam
Del: non-english -- https://master.php.net/note/delete/113629/non-english
Del: in docs -- https://master.php.net/note/delete/113629/in+docs
Del: other reasons-- https://master.php.net/note/delete/113629
Reject -- https://master.php.net/note/reject/113629
Search -- https://master.php.net/manage/user-notes.php