Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33216 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56423 invoked by uid 1010); 17 Nov 2007 06:56:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56407 invoked from network); 17 Nov 2007 06:56:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Nov 2007 06:56:26 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 76.96.30.32 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 76.96.30.32 qmta03.emeryville.ca.mail.comcast.net Received: from [76.96.30.32] ([76.96.30.32:43438] helo=QMTA03.emeryville.ca.mail.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/60-51194-9909E374 for ; Sat, 17 Nov 2007 01:56:26 -0500 Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id DivW1Y0020EPcho0A00900; Sat, 17 Nov 2007 06:56:25 +0000 Received: from earth.ufp ([71.228.13.89]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id DiwR1Y00A1vH2xB0800000; Sat, 17 Nov 2007 06:56:26 +0000 X-Authority-Analysis: v=1.0 c=1 a=tJZsWP4XKNgA:10 a=od-AT_fD-nKhSDr8h8QA:9 a=ADknVXmbYgZ6kJB5Yz-239QP7gMA:4 a=FHBbIDN7CdwA:10 a=LY0hPdMaydYA:10 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id AD91ED8307 for ; Sat, 17 Nov 2007 00:56:21 -0600 (CST) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ILn5fBTBq8bt for ; Sat, 17 Nov 2007 00:56:20 -0600 (CST) Received: from vulcan.ufp (vulcan.ufp [192.168.42.4]) by earth.ufp (Postfix) with ESMTP id DF7E8D8306 for ; Sat, 17 Nov 2007 00:56:09 -0600 (CST) To: internals@lists.php.net Date: Sat, 17 Nov 2007 00:56:38 -0600 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <8D.46.01128.768AD374@pb1.pair.com> <200711162354.34489.larry@garfieldtech.com> <1195279274.12249.40.camel@sams-room> In-Reply-To: <1195279274.12249.40.camel@sams-room> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200711170056.38888.larry@garfieldtech.com> Subject: Re: [PHP-DEV] Re: Question about superglobals From: larry@garfieldtech.com (Larry Garfield) On Saturday 17 November 2007, Sam Barrow wrote: > As i said you guys do have a point. But when you say leave custom > superglobals to runkit, you might as well leave them to my patch. > > You have to specifically declare superglobals, just like in runkit. No > difference between this and using runkit except ease of use. Exactly. I don't want it to be easy for incompetent programmers to write code that is physically impossible for me to maintain, because I *will* inherit it and I will lose hair trying to figure out why the frel this variable is doing something weird in random cases. I see it in a similar light as register_globals. Yes, one can write secure code with register_globals on. But it's so much easier to write code that isn't a nightmare to maintain if you start with it off. We should *not* be making it easy for programmers to write unmaintainable code. Writing code that is going to make me want to kill the programmer who wrote it should be difficult, not easy. :-) -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson