Re: Q: ZEND_HANDLE_STREAM and wincache extension on PHP 5.4

From: Date: Wed, 21 Mar 2012 08:36:22 +0000
Subject: Re: Q: ZEND_HANDLE_STREAM and wincache extension on PHP 5.4
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, 21 Mar 2012 07:46:31 +0100, Dmitry Stogov <[email protected]> wrote:

Anyway, I don't see a way to fix PHP to support custom streams without BC break, because zend_streams doesn't provide handlers for seeking.
Couldn't you at least check whether e.g. the closer function pointer is php_zend_stream_closer and only then assume it wraps a php_stream? If it was not, you'd have to abandon shebang detection, but I think that's a minor problem. -- Gustavo Lopes

Thread (8 messages)

« previous php.internals (#59112) next »