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 <[EMAIL PROTECTED]> 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
> 
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to