Re: [PHP-DEV] Problems with the stream API

2011-08-29 Thread Hannes Magnusson
On Sun, Aug 28, 2011 at 23:54, Christian Kaps wrote: > Hi Gustavo, > > thanks for your detailed explanation. > > Nevertheless it might be useful to document these inconsistent(from the > userland point of view) behavior. Please see my comments inline. > > Am 28.08.2011 17:22, schrieb Gustavo Lopes

Re: [PHP-DEV] Problems with the stream API

2011-08-28 Thread Christian Kaps
Hi Gustavo, thanks for your detailed explanation. Nevertheless it might be useful to document these inconsistent(from the userland point of view) behavior. Please see my comments inline. Am 28.08.2011 17:22, schrieb Gustavo Lopes: > On Sun, 28 Aug 2011 14:29:28 +0100, Christian Kaps > wrote: >

Re: [PHP-DEV] Problems with the stream API

2011-08-28 Thread Gustavo Lopes
On Sun, 28 Aug 2011 14:29:28 +0100, Christian Kaps wrote: I have some problems with the stream API. The methods stream_tell and stream_seek works not as expected in some cases. Before reading the next lines, please look at the short gist(https://gist.github.com/1176641). First example: $fp

Re: [PHP-DEV] Problems with the stream API

2011-08-28 Thread Pierre Joye
On Sun, Aug 28, 2011 at 3:29 PM, Christian Kaps wrote: > In one of the comments Pierre says: There is no bug but a feature > request which seems to be very discutable. The key part of the comments there are in Wez ones much more than mine, which mainly refer to his comment about why it works thi

[PHP-DEV] Problems with the stream API

2011-08-28 Thread Christian Kaps
Hi, I have some problems with the stream API. The methods stream_tell and stream_seek works not as expected in some cases. Before reading the next lines, please look at the short gist(https://gist.github.com/1176641). First example: $fp = fopen('mfx://test1', 'w'); fwrite($fp, '12345678'); fsee