note 127941 added to language.oop5.serialization

From: Date: Wed, 16 Nov 2022 17:46:31 +0000
Subject: note 127941 added to language.oop5.serialization
Groups: php.notes 
Request: Send a blank email to php-notes+get-219895@lists.php.net to get a copy of this message
This trick can be useful when you need to pass object data as strings of text between scripts and applications. Common situations include: * Passing objects via fields in web forms * Passing objects in URL query strings * Storing object data in a text file, or in a single database field and Sometimes it’s useful to do some cleaning up before serializing an object. For example, you might want to write unsaved object data to a database and close the database connection. Similarly, after you’ve unserialized an object, you might want to restore its database connection and perform other setup tasks so that the new object can be used properly. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 197.61.55.139) ---- Manual Page -- https://php.net/manual/en/language.oop5.serialization.php Edit -- https://main.php.net/note/edit/127941 Del: integrated -- https://main.php.net/note/delete/127941/integrated Del: useless -- https://main.php.net/note/delete/127941/useless Del: bad code -- https://main.php.net/note/delete/127941/bad+code Del: spam -- https://main.php.net/note/delete/127941/spam Del: non-english -- https://main.php.net/note/delete/127941/non-english Del: in docs -- https://main.php.net/note/delete/127941/in+docs Del: other reasons-- https://main.php.net/note/delete/127941 Reject -- https://main.php.net/note/reject/127941 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219895) next »