note 94258 added to function.serialize
| From: | a-non at osu1 dot php dot net | Date: | Mon, 26 Oct 2009 00:47:01 +0000 |
| Subject: | note 94258 added to function.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162090@lists.php.net to get a copy of this message | ||
@Alessandro Segala
while json_encode is faster, determine if accuracy in restoration is important:
- json_encode ignores protected / private object variables
- json_encode does not store original object class type
- json_encode restores associative arrays as objects
- json_encode stores numerical indexes as strings if there are any string indexes
----
Server IP: 117.55.229.1
Probable Submitter: 203.206.182.151
----
Manual Page -- http://www.php.net/manual/en/function.serialize.php
Edit -- https://master.php.net/note/edit/94258
Del: integrated -- https://master.php.net/note/delete/94258/integrated
Del: useless -- https://master.php.net/note/delete/94258/useless
Del: bad code -- https://master.php.net/note/delete/94258/bad+code
Del: spam -- https://master.php.net/note/delete/94258/spam
Del: non-english -- https://master.php.net/note/delete/94258/non-english
Del: in docs -- https://master.php.net/note/delete/94258/in+docs
Del: other reasons-- https://master.php.net/note/delete/94258
Reject -- https://master.php.net/note/reject/94258
Search -- https://master.php.net/manage/user-notes.php