#44607 [Opn]: stream_get_line return incorrect values

[email protected] ("amoo_miki at yahoo dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               44607
 User updated by:  amoo_miki at yahoo dot com
 Reported By:      amoo_miki at yahoo dot com
 Status:           Open
 Bug Type:         Streams related
 Operating System: *
-PHP Version:      5.x upto 5.3-alpha2
+PHP Version:      5.x upto 5.3-alpha2 and even 6.0
 New Comment:

I just got PHP 6.0.0-dev (built: Jul 28 2008 02:06:04) also configured
and installed. that too has this problem of not working correctly.


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

[2008-08-19 15:24:58] amoo_miki at yahoo dot com

The bug still persists.

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

[2008-07-14 21:54:02] amoo_miki at yahoo dot com

I should also add that the workaround (that works for this example
file) does not always work.

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

[2008-07-14 21:45:58] amoo_miki at yahoo dot com

Also tried with the latest CVS snapshot of 5.2.7-dev and it still gives
incorrect results.

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

[2008-07-14 21:30:22] amoo_miki at yahoo dot com

Tested this with PHP v5.2.6 on Windows 2008 Server and FreeBSD 7.0 and
it still returns incorrect results.

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

[2008-04-02 12:14:33] amoo_miki at yahoo dot com

Using:

PHP 5.2.6RC4-dev (cli) (built: Apr  2 2008 08:04:44)

Still i get the faulty output:

Found in source at 9295

Location in stream: 15000
Rewinding...
Location in stream: 15000

Attempting fix...
Location in stream: 9307
Rewinding...
Location in stream: 9307

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

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/44607

-- 
Edit this bug report at http://bugs.php.net/?id=44607&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.