Fix for 49148 (combination of stream_get_line and fseek does not work correctly)

From: Date: Thu, 03 Sep 2009 05:29:23 +0000
Subject: Fix for 49148 (combination of stream_get_line and fseek does not work correctly)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-45454@lists.php.net to get a copy of this message
I just ran the test on Linux 2.6.29 FC11 Apache 2.2.13 and PHP 5.2.9 Result: string 'line1' (length=5) string '' (length=0) string 'line1' (length=5) string '' (length=0) string 'line1' (length=5) string 'line2' (length=5) string 'line1' (length=5) boolean false string 'line1' (length=5) string 'line2' (length=5) string 'line1' (length=5) string 'line2' (length=5) -- MvH / Hans Åhlin Tel: +46761488019 http//www.kronan-net.com/

« previous php.internals (#45454) next »