Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50981 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28672 invoked from network); 9 Dec 2010 21:59:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2010 21:59:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=vchkpw@developersdesk.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=vchkpw@developersdesk.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain developersdesk.com designates 204.228.229.4 as permitted sender) X-PHP-List-Original-Sender: vchkpw@developersdesk.com X-Host-Fingerprint: 204.228.229.4 lessa.developersdesk.com Received: from [204.228.229.4] ([204.228.229.4:49035] helo=mail.developersdesk.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/10-26210-821510D4 for ; Thu, 09 Dec 2010 16:59:05 -0500 Received: (qmail 10656 invoked by uid 89); 9 Dec 2010 21:59:02 -0000 Received: from unknown (HELO ?10.1.1.2?) (rwidmer@rickwidmer.com@24.117.113.17) by 0 with ESMTPA; 9 Dec 2010 21:59:02 -0000 Message-ID: <4D01512E.2090200@developersdesk.com> Date: Thu, 09 Dec 2010 14:59:10 -0700 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: internals@lists.php.net References: <4D00ABFE.5070403@hristov.com> <4D00CF96.3070701@hristov.com> <4D010093.8090604@thelounge.net> <4D010193.9030603@hristov.com> <4D010979.3070706@hristov.com> In-Reply-To: <4D010979.3070706@hristov.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only From: vchkpw@developersdesk.com (Rick Widmer) On 12/9/2010 9:53 AM, Andrey Hristov wrote: . > > fixing a design flaw of the past, evolution in other words. Global and $GLOBALS are not a design flaw! They are a carefully thought out technique to insure that you do not shoot your self in the foot by accidentally accessing a global variable from within a function. Rick