RE: [PHP-DEV] [PATCH] Custom Streams, fclose & stream_close

From: Date: Wed, 15 Feb 2006 11:14:21 +0000
Subject: RE: [PHP-DEV] [PATCH] Custom Streams, fclose & stream_close
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-21869@lists.php.net to get a copy of this message
Hi, > 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. This should fix it, I think. :) > > > > > > 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

« previous php.internals (#21869) next »