PDO::FETCH_SERIALIZE

From: Date: Sun, 24 Feb 2013 22:14:02 +0000
Subject: PDO::FETCH_SERIALIZE
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969384271@lists.php.net to get a copy of this message
Hi, The current documentation is "As PDO::FETCH_INTO but object is provided as a serialized string". Well, maybe. What happens is 1) If the class implements Serializable then the unserialize() method is called. 2) Otherwise if __wakeup exists it is called. 3) Plain unserialize() is attempted. I am not 100% we need to do all this because after all unserialize() does this. But then again __set is mentioned in the page. So, should I mention these or not? Best ChX

« previous php.doc (#969384271) next »