Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63283 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91062 invoked from network); 8 Oct 2012 16:14:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2012 16:14:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=scope@planetavent.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=scope@planetavent.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain planetavent.de from 89.107.189.172 cause and error) X-PHP-List-Original-Sender: scope@planetavent.de X-Host-Fingerprint: 89.107.189.172 mail.xa8.serverdomain.org Linux 2.6 Received: from [89.107.189.172] ([89.107.189.172:50645] helo=mail.xa8.serverdomain.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/10-24444-1EBF2705 for ; Mon, 08 Oct 2012 12:14:26 -0400 Received: from mail-da0-f42.google.com (mail-da0-f42.google.com [209.85.210.42]) (Authenticated sender: xa8190p1) by mail.xa8.serverdomain.org (mail.xa8.serverdomain.org) with ESMTPSA id 8AD3428C38D08 for ; Mon, 8 Oct 2012 18:14:22 +0200 (CEST) Received: by mail-da0-f42.google.com with SMTP id z17so1701970dal.29 for ; Mon, 08 Oct 2012 09:14:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.88.198 with SMTP id bi6mr44498003pab.23.1349712860721; Mon, 08 Oct 2012 09:14:20 -0700 (PDT) Received: by 10.66.220.105 with HTTP; Mon, 8 Oct 2012 09:14:20 -0700 (PDT) Date: Mon, 8 Oct 2012 18:14:20 +0200 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: stream_get_line behaviour Bug #63240 From: scope@planetavent.de (Nicolai Scheer) Hi! We switched from php 5.3.10 to 5.3.17 this weekend and stumbled upon a behaviour of stream_get_line that is most likely a bug and breaks a lot of our file processing code. The issue seems to have been introduced from 5.3.10 to 5.3.11. I opened a bug report: #63240. The issue seems to be related to #44607, but that one got fixed years ago. Is anybody able to confirm this behaviour or has stumbled upon this? Furthermore the behaviour of stream_get_line on an empty file seems to have changed between php 5.3.10 and php 5.3.11: 5.3.10. I don't know if this should be considered a bug, but as far as I know such a behaviour should not change during minor releases... Any insight is appreciated! Greetings Nico