note 62865 added to function.serialize

From: Date: Sat, 11 Mar 2006 06:28:30 +0000
Subject: note 62865 added to function.serialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-105260@lists.php.net to get a copy of this message
if you are thinking about using Serializable DON'T!! it's buggy as hell if the reason you wanted to use Serializable is because you couldn't get to your private class vars using array_keys(get_class_vars(__CLASS__)) from within __sleep, then just declare your variables as public until php catches up with itself. ---- Server IP: 203.220.0.234 Probable Submitter: 125.62.65.184 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.serialize.php Edit -- http://master.php.net/note/edit/62865 Del: integrated -- http://master.php.net/note/delete/62865/integrated Del: useless -- http://master.php.net/note/delete/62865/useless Del: bad code -- http://master.php.net/note/delete/62865/bad+code Del: spam -- http://master.php.net/note/delete/62865/spam Del: non-english -- http://master.php.net/note/delete/62865/non-english Del: in docs -- http://master.php.net/note/delete/62865/in+docs Del: other reasons-- http://master.php.net/note/delete/62865 Reject -- http://master.php.net/note/reject/62865 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#105260) next »