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: | Marcus Boerger | Date: | Mon, 01 Nov 2004 16:27:40 +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 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13672@lists.php.net to get a copy of this message | ||
Hello l0t3k,
Monday, November 1, 2004, 5:10:00 PM, you wrote:
> "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.
yep this is most likely what we're going to do.
--
Best regards,
Marcus mailto:helly@php.net