# custom streams

- Thread: https://externals.io/message/18203
- Original archive: https://news-web.php.net/php.internals/18203
- Started by Lukas Smith on 2005-08-18T10:40:48+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #18203 — Lukas Smith — 2005-08-18T10:40:48+00:00

URL: https://externals.io/message/18203#18203

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

---

## #18204 — Jani Taskinen — 2005-08-18T10:44:56+00:00

URL: https://externals.io/message/18203#18204 · In reply to: #18203

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



> 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

---

## #18206 — Lukas Smith — 2005-08-18T10:54:13+00:00

URL: https://externals.io/message/18203#18206 · In reply to: #18204

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

---

## #18208 — Jani Taskinen — 2005-08-18T13:02:55+00:00

URL: https://externals.io/message/18203#18208 · In reply to: #18206

> Jani Taskinen wrote:
> > […]
>
> 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

---

## #18209 — Wez Furlong — 2005-08-18T13:07:08+00:00

URL: https://externals.io/message/18203#18209 · In reply to: #18203

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.



> 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
