Re: Re: php-src /ext/spl php_spl.c spl.php spl_array.c spl_array.h /ext/spl/tests spl_002.phpt /ext/standard array.c

From: Date: Mon, 01 Nov 2004 16:10:00 +0000
Subject: Re: Re: php-src /ext/spl php_spl.c spl.php spl_array.c spl_array.h /ext/spl/tests spl_002.phpt /ext/standard array.c
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-13671@lists.php.net to get a copy of this message
"Marcus Boerger" <helly@php.net> wrote in message news:1601147230.20041101165825@marcus-boerger.de... > Hello l0t3k, > > it's a pain in the ass right now. I have some ideas right now but want to > discuss on frankfurt conf with some others first. Generally my idea is to > allow to stream into/from a single string if a certain interface is present. > That means every lcass is responsible for itself. my thoughts exactly. i think wez mentioned having two more streaming related callbacks in the zend_object_handlers struct. For zend standard objects, these would call __sleep and __wakeup. i guess for BC, Serializable would contain those 2 methods and userland classes would automagically implement Serializable. otherwise internal classes would do their own magic. > marcus

« previous php.internals (#13671) next »