#38298 [Opn->Bgs]: serializing of simplexml objects

From: Date: Wed, 02 Aug 2006 15:33:40 +0000
Subject: #38298 [Opn->Bgs]: serializing of simplexml objects
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100241@lists.php.net to get a copy of this message
ID: 38298 Updated by: tony2001@php.net Reported By: aeldarin at hotmail dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Windows PHP Version: 5.1.4 New Comment: There is no way to store internal data structures as text. Previous Comments: ------------------------------------------------------------------------ [2006-08-02 15:19:39] aeldarin at hotmail dot com Description: ------------ http://www.php.net/manual/en/function.serialize.php says that built-in objects can't be serialized. This also means that SimpleXML objects can NOT be stored in the Memcached server since PHP automatically (un)serializes content stored/retrieved to/from Memcached. What happens is that hundreds of "Node does not exist"-warnings are reported by the memcached-api (via unserialize) when trying to retrieve the SimplXML object. Being able to easily and efficiently cache SimpleXML with Memcached would be tremendously helpful. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38298&edit=1

« previous php.bugs (#100241) next »