Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26673 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50700 invoked by uid 1010); 20 Nov 2006 19:08:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50685 invoked from network); 20 Nov 2006 19:08:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 19:08:24 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2950] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/32-33211-52DF1654 for ; Mon, 20 Nov 2006 14:08:23 -0500 Received: (qmail 57264 invoked by uid 98); 20 Nov 2006 19:08:19 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.4/2205. Clear:RC:1(127.0.0.1):. Processed in 3.46268 secs); 20 Nov 2006 19:08:19 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 3.46268 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 19:08:14 -0000 Received: from 208.195.234.246 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Mon, 20 Nov 2006 13:08:14 -0600 (CST) Message-ID: <42250.208.195.234.246.1164049694.squirrel@www.l-i-e.com> In-Reply-To: <45597FA6.90808@zend.com> References: <4558E5E7.5040809@zend.com> <10845a340611140024l4902ea09q600a43c5018e819c@mail.gmail.com> <45597FA6.90808@zend.com> Date: Mon, 20 Nov 2006 13:08:14 -0600 (CST) To: "Stanislav Malyshev" Cc: rquadling@googlemail.com, "Antony Dovgal" , "php-dev" Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] fgets()/fgetss() BC break in HEAD From: ceo@l-i-e.com ("Richard Lynch") On Tue, November 14, 2006 2:34 am, Stanislav Malyshev wrote: >> It seems utterly ridiculous to return maxlen-1. >> >> Whilst this is sure as hell a BC, it should work "properly". If I >> ask >> for 10, I want 10. I wouldn't have asked for 10 otherwise. Having to >> know the "magic" to get things to work is plainly bad magic. It should have been 10, but a zillion scripts are relying on it doing what it does. Changing something this fundamental, and simple, at anything less than a major release point is insane. Even at a major release, it seems like a rather pointless change -- It will only result in millions (literally) choosing not to adopt the new version. Renaming "maxlen" or whatever it is in the docs and variable name to something less clearly defined as "10 means 10" seems like a much better solution. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?