Re: custom streams

From: Date: Thu, 18 Aug 2005 13:07:08 +0000
Subject: Re: custom streams
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18209@lists.php.net to get a copy of this message
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: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#18209) next »