[PHP-DEV] Re: Stream Filters and Interfaces (a bit long) (was Re: URLs, fopen wrappers and RFC 2718)

2002-04-19 Thread Andrei Zmievski
On Fri, 19 Apr 2002, Wez Furlong wrote: The nice thing about this is that a range of encodings/decodings can be applied/removed based on the data that has just been read from the file. I think this sort of thing might be useful for things like templating processors: ?php $fp =

[PHP-DEV] Re: Stream Filters and Interfaces (a bit long) (was Re: URLs, fopen wrappers and RFC 2718)

2002-04-19 Thread Wez Furlong
On 19/04/02, Andrei Zmievski [EMAIL PROTECTED] wrote: On Fri, 19 Apr 2002, Wez Furlong wrote: ?php $fp = fopen(data.xml, r); stream_stack_push(xslt:style.xsl?param1=value1param2=value2, $fp); stream_stack_push(compress.zlib, $fp); stream_stack_push(crypt.des, $fp); // this reads the