ID:               48596
 Comment by:       php_nospam at ramihyn dot sytes dot net
 Reported By:      php_nospam at ramihyn dot sytes dot net
 Status:           No Feedback
 Bug Type:         Streams related
 Operating System: *
 PHP Version:      5.3.0RC3
 Assigned To:      fb-req-jani
 New Comment:

The bot lies, there was input, and [16 Jul 6:21pm UTC] to [17 Jul
1:00am UTC] is less than a week.


Previous Comments:
------------------------------------------------------------------------

[2009-07-17 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-07-16 18:21:30] php_nospam at ramihyn dot sytes dot net

The scripts show the same behaviour in PHP 5.2.6

------------------------------------------------------------------------

[2009-07-15 02:38:50] php_nospam at ramihyn dot sytes dot net

Yes, for all pieces of code specified in this bug report, and PHP
version 5.2.10; i do not have PHP 5.2.9 anymore, the download server
too, so i can't tell about 5.2.9

------------------------------------------------------------------------

[2009-07-09 20:25:11] [email protected]

Does this happen with PHP 5.2.10 and 5.2.9 ?

------------------------------------------------------------------------

[2009-06-23 19:53:11] php_nospam at ramihyn dot sytes dot net

Had to recompile PHP because i didn't have zlib and bzip2 included, but
now i've also tested the other pieces of code on the Linux VM.
Same result as on the Windows box.

Using filters seems to corrupt the file handle somehow:
After using a compression filter to write to a file, ftell() returns
the same value as before appending the filter, but it is still possible
to write to the file.

After using a decompression filter to read from a file, ftell() returns
the same value as before appending the filter, but every call to fread()
returns an empty string.

In addition, if the script first reads something from the stream, then
a decompression filter is appended for reading and the script tries to
read something, i get the following warning:

Warning: stream_filter_append(): Filter failed to process pre-buffered
data in .../test.php on line 11

Is it, somehow, possible to have the buffers flushed in that case?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/48596

-- 
Edit this bug report at http://bugs.php.net/?id=48596&edit=1

Reply via email to