note 60834 added to function.serialize

From: Date: Wed, 18 Jan 2006 04:08:49 +0000
Subject: note 60834 added to function.serialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-102001@lists.php.net to get a copy of this message
If you are serializing an object with private variables, beware. The serialize() function returns a string with null (\x00) characters embedded within it, which you have to escape. Not great if you're trying to save objects into a DB... ---- Server IP: 210.55.230.123 (proxied: 202.89.36.242 1.0 proxy5.akl1.maxnet.net.nz:8080 (Squid/2.4.STABLE2))Probable Submitter: 203.173.155.129 (proxied: unknown) ---- Manual Page -- http://www.php.net/manual/en/function.serialize.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60834 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60834&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60834&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102001) next »