custom streams

php.internals

Lukas Smith

21 years ago
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 (false becomes true). http://bugs.php.net/bug.php?id=27508 Seems to indicate this is fixed in CVS, so maybe the problem is that nobody thought we would see 5.0.5? regards, Lukas

Jani Taskinen

21 years ago
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.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 (false > becomes true). > > http://bugs.php.net/bug.php?id=27508 > > Seems to indicate this is fixed in CVS, so maybe the problem is that nobody > thought we would see 5.0.5? > > regards, > Lukas > >
-- Donate @ http://pecl.php.net/wishlist.php/sniper

Lukas Smith

21 years ago
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 fate and usually "fixed in CVS" means will be fixed in the next bugfix release for that minor version if one gets released. So I presume alot of users will be surprised when they find that numerous bugs they would expect to be fixed in a 5.0.5 release. If however 5.0.5 never comes to light, then those users will know that they will need to move to 5.1.0 to get the fixes for "fixed in CVS". regards, Lukas

Jani Taskinen

21 years ago
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 one gets released. So I presume alot of users will be > surprised when they find that numerous bugs they would expect to be fixed in a > 5.0.5 release.
Feel free to go through every commit and check if it was MFH'd. :)
> If however 5.0.5 never comes to light, then those users will know that they > will need to move to 5.1.0 to get the fixes for "fixed in CVS".
I'd like to skip 5.0.5 and go with 5.1 instead. We just don't have enough resources to be able to handle 4 branches. (4.4, 5.0, 5.1, HEAD) --Jani

Wez Furlong

21 years ago
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 logic. Yes, it sucks. --Wez. On 8/18/05, Lukas Smith <lsmith@php.net> wrote: