Re: Custom Streams, fclose & stream_close
| From: | Wez Furlong | Date: | Wed, 15 Feb 2006 07:33:10 +0000 |
| Subject: | Re: Custom Streams, fclose & stream_close | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21867@lists.php.net to get a copy of this message | ||
stream_close can return any value it likes... however, it is ignored
and php_userstreamop_close always returns success to the streams
layer.
This is a bug, but should be simple to fix. (volunteers welcome; I
don't have a current cvs checkout).
--Wez.
On 2/13/06, Jared Williams <jared.williams@ntlworld.com> wrote:
>
>
> Hi,
> Is the PHP manual correct in that fclose() returns a bool, but a custom wrapper
> stream_close() is void? Would like to signal
> a problem if I have a problem closing a custom stream.
>
> Jared
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>