note 125588 added to language.oop5.serialization

From: Date: Wed, 09 Dec 2020 18:58:29 +0000
Subject: note 125588 added to language.oop5.serialization
Groups: php.notes 
Request: Send a blank email to php-notes+get-215965@lists.php.net to get a copy of this message
Until such time as these documents are updated, note that session_register() is not needed to automatically serialize & unserialize objects in sessions. Any objects in $_SESSION are serialized when the session is closed (via session_write_close() or upon script exit) & unserialized when opened (via session_start()). The note about including classes throughout an app (either by including the definition globally or autoloading it) still holds. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.244 (proxied: 192.154.196.14) ---- Manual Page -- http://php.net/manual/en/language.oop5.serialization.php Edit -- https://master.php.net/note/edit/125588 Del: integrated -- https://master.php.net/note/delete/125588/integrated Del: useless -- https://master.php.net/note/delete/125588/useless Del: bad code -- https://master.php.net/note/delete/125588/bad+code Del: spam -- https://master.php.net/note/delete/125588/spam Del: non-english -- https://master.php.net/note/delete/125588/non-english Del: in docs -- https://master.php.net/note/delete/125588/in+docs Del: other reasons-- https://master.php.net/note/delete/125588 Reject -- https://master.php.net/note/reject/125588 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#215965) next »