Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26626 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18362 invoked by uid 1010); 15 Nov 2006 21:03:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18347 invoked from network); 15 Nov 2006 21:03:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2006 21:03:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=pollita@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pollita@php.net; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain php.net from 140.211.166.39 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 140.211.166.39 osu1.php.net Linux 2.4/2.6 Received: from [140.211.166.39] ([140.211.166.39:46367] helo=osu1.php.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/09-53553-BB08B554 for ; Wed, 15 Nov 2006 16:03:56 -0500 X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=mx; d=php.net; h=From:Subject:To:Date; b=YV39EoI1fTbCmQYsj7HpD2fI5U146czK3WTfdkJKGK1nwah/7QHasypHIwEXQ+EC GQtYoAoeyZ9XzRnKm1HfPGMaXtgaGKe9g53WmjraHOFNn3k4K3txGd5hY8lJ2ZeF Authentication-Results: osu1.php.net smtp.user=pollita; auth=pass (LOGIN) X-Host-Fingerprint: 69.12.155.129 unknown Received: from [69.12.155.129] ([69.12.155.129:56543] helo=[172.31.5.146]) by osu1.php.net (ecelerity 2.1.1.11-rc1 r(13363/13364M)) with ESMTPSA (cipher=AES256-SHA) id F8/D0-22341-9918B554 for ; Wed, 15 Nov 2006 13:07:38 -0800 Message-ID: <455B80F8.9010402@php.net> Date: Wed, 15 Nov 2006 13:04:56 -0800 User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: ceo@l-i-e.com CC: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] fgets()/fgetss() BC break in HEAD From: pollita@php.net (Sara Golemon) ceo@l-i-e.com wrote: > On Tue, November 14, 2006 2:59 pm, Sara Golemon wrote: >> keeping. I'll lay money that NOONE is relying on this, and I >> challenge >> any of you to prove me wrong on that count. > > Errrr. > > You may want to re-think that bet... > > Surely somebody out there has: > $field_X = fgets($file, 10); //get the next 9 bytes > $field_Y = fgets($file, 4); //get the next 3 bytes > ?> > Sorry, I meant to say "Noone with an IQ higher than twelve is relying on this." > Or change the docs and the variable name to something other than > maxchars is a perfect solution. :-) > Yes, and that's what I said both in this thread and on IRC before the thread started. -Sara