Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112415 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 65821 invoked from network); 4 Dec 2020 14:30:50 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Dec 2020 14:30:50 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B071E1804C9 for ; Fri, 4 Dec 2020 05:59:02 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from premium76-3.web-hosting.com (premium76-3.web-hosting.com [162.213.253.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 4 Dec 2020 05:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pmjones.io; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=+rzOF1r/tcnjLDwwPFCY5TSmzweK+zQMurir7Xr2644=; b=WopW95IEyQK65M7crJqxB/3Ada uAW2paMyocsqo30xoAMoLeMZFwCqsLjV4qorP/oWNcRb+lUXb5UTNG2n6C4LuHVeg/dA4XEgmo4tj NxaUS37pkmnCOJOv5AHgJG8bBsPRsU2tN8jXwkcaNBmg7YS8vkKHGtFnhwd1AIcXLWjIIVfHegwVp WUVSNBVm5RaU9TK4voZAl7yj/R46E5FGX1DMdA5qQQdesZ724BmfqDS9zI12Y3huAgXpqm9IgsBZF Lc7IwwUsZ8aCF7k/k0d3uTTCSfDwtJL85XVBN3T6UBUmHMDAqDAgBOErNlNj/bQy6uHs/0eta1nYT lqQvP1rQ==; Received: from 107-223-28-39.lightspeed.nsvltn.sbcglobal.net ([107.223.28.39]:64112 helo=samurai.attlocal.net) by premium76.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1klBbs-001w3t-VV; Fri, 04 Dec 2020 08:59:01 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) In-Reply-To: Date: Fri, 4 Dec 2020 07:58:55 -0600 Cc: PHP internals Content-Transfer-Encoding: 7bit Message-ID: References: To: Nikita Popov X-Mailer: Apple Mail (2.3608.120.23.2.1) X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - premium76.web-hosting.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pmjones.io X-Get-Message-Sender-Via: premium76.web-hosting.com: authenticated_id: pmjones@pmjones.io X-Authenticated-Sender: premium76.web-hosting.com: pmjones@pmjones.io X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched Subject: Re: [PHP-DEV] [RFC] Restrict $GLOBALS usage From: pmjones@pmjones.io ("Paul M. Jones") > On Dec 4, 2020, at 04:52, Nikita Popov wrote: > > Hi internals, > > I would like to propose the following RFC, which restricts certain rare > usages of $GLOBALS. This change will improve performance, reduce internal > implementation complexity, and fix a very large class of bugs relating to > $GLOBALS handling in internal functions. > > https://wiki.php.net/rfc/restrict_globals_usage > Big +1 -- Paul M. Jones pmjones@pmjones.io http://paul-m-jones.com Modernizing Legacy Applications in PHP https://leanpub.com/mlaphp Solving the N+1 Problem in PHP https://leanpub.com/sn1php