Re: Q: ZEND_HANDLE_STREAM and wincache extension on PHP 5.4
| From: | Gustavo Lopes | 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 internals+get-59112@lists.php.net to get a copy of this message | ||
On Wed, 21 Mar 2012 07:46:31 +0100, Dmitry Stogov <dmitry@zend.com> 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