Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26677 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59838 invoked by uid 1010); 20 Nov 2006 19:21:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59823 invoked from network); 20 Nov 2006 19:21:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 19:21:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; 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:2707] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/B3-33211-13002654 for ; Mon, 20 Nov 2006 14:21:24 -0500 Received: (qmail 88557 invoked by uid 98); 20 Nov 2006 19:21:22 -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 2.585926 secs); 20 Nov 2006 19:21:21 -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 2.585926 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 19:21:17 -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:21:17 -0600 (CST) Message-ID: <43215.208.195.234.246.1164050477.squirrel@www.l-i-e.com> In-Reply-To: <455B80F8.9010402@php.net> References: <455B80F8.9010402@php.net> Date: Mon, 20 Nov 2006 13:21:17 -0600 (CST) To: "Sara Golemon" Cc: internals@lists.php.net 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 Wed, November 15, 2006 3:04 pm, Sara Golemon wrote: >> 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." While I don't know the IQ chart well, nor its applicability to this discussion, it would seem that there are more than a few scripts "out there" that relied on the documented behaviour... I don't really care what a person's IQ is -- I've seen some horribly designed, written, and executed scripts that did some pretty nifty and amazing and creative things. I believe that one of PHP's strengths is that almost anybody can latch onto it and start using it, whether they have any idea how to work it properly or not. Obviously, this has caused problems in the past, and will cause problems in the future -- But I think the problems are worth it, as it has also cause a wealth of community, of users, of creative [mis-]applications of PHP that is sorely lacking in some other "less fun" languages. If you want to have an IQ-filter before a user can play with a language, send them off to use C++ or something. :-) -- 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?