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 <[EMAIL PROTECTED]>
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.n
For this particular case, I'd just use version_compare() and check for
PHP 5.1 and up.
It seems "cleaner" to not flip the meaning back to what it should be
in a minor release, just because nobody ever reads the release notes,
and most people think that it should be returning based on inverted
logi
On Thu, 18 Aug 2005, Lukas Smith wrote:
Jani Taskinen wrote:
Not critical enough to try and find the fix.
Just use 5.1. As far as I'm concerned, 5.0 is dead along with 4.4 :)
But why even bother with 5.0.5 .. or more specifically whats the purpose of
Ask Zeev.
minor version if
Jani Taskinen wrote:
Not critical enough to try and find the fix.
Just use 5.1. As far as I'm concerned, 5.0 is dead along with 4.4 :)
Sure.
But why even bother with 5.0.5 .. or more specifically whats the purpose
of 5.0.5? I presume there are other bugs which will follow the same fat
Not critical enough to try and find the fix.
Just use 5.1. As far as I'm concerned, 5.0 is dead along with 4.4 :)
--Jani
On Thu, 18 Aug 2005, Lukas Smith wrote:
Hi,
I am using custom streams for the LOB support in PEAR::MDB2.
It seems that things work nicely on PHP 4.4 and PHP 5.
Hi,
I am using custom streams for the LOB support in PEAR::MDB2.
It seems that things work nicely on PHP 4.4 and PHP 5.1.0RC1. However
using todays windows 5.0.x binarys from snaps.php.net still give me
errors. Atleast there is still bug that leads to the stream_eof() return
being flipped (fal