Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112547 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97110 invoked from network); 18 Dec 2020 14:31:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Dec 2020 14:31:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AE399180538 for ; Fri, 18 Dec 2020 06:03:23 -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=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 18 Dec 2020 06:03:23 -0800 (PST) Received: by mail-lf1-f48.google.com with SMTP id l11so5767447lfg.0 for ; Fri, 18 Dec 2020 06:03:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=oe0BImy/FerzfIXHHak1nolGjB1qOp6l+TOKxWxnJkQ=; b=TNvUqVZi0Cb1+ZCvgFSClrI3HDk7NDwfdeWH5Pr1IWHn593lHPyr4UvVznix47XJV0 eXYFK6saL4ZAjEB5eXNZA8912ZLVnJJ51tTaEwwt/yVBCn8DM4kmPuY6EsphF9blHVtI 6Zbb0RESO8DVXoPV9DENanIh0NY9wueduv/rYFgAt4NJpMWe5XnR3U/U6pczwp6I92N1 czEs6hxpHpXdJXfGjhkOh5kO9YYrC7JzCrSM7m1gr3XL96zuUwauzbocXviS/sYPmV3E 6SJs31Aa2aJ4GD1xCuCSI3J6jSO/MF8efHN64mfvr5dDHia+a79iOCePKRWpdwZ3esDY iRgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=oe0BImy/FerzfIXHHak1nolGjB1qOp6l+TOKxWxnJkQ=; b=JiZxZ/HdFmbhDKI//v/zfFLK2Ozcxd6hZh5cc7XsoFInHBXZMW5NhjoO+vAyu9PY1M ALlvOH/qWdEOmP6DtLV5gBJjaH959xg6Kn2GIJVeJMI98doz/QfApD+NmZo4+f9CXSMe bau3BnHancE0Fy1pu6zgPjvZK2LKLXuhOh9rmMP1uKNg9cyTsUF17KeolatmHyy6iH5q u0FZYLVQKipUl5luJt8Ra5seWXf50UZsCVsGxMvLsci6ZchGH+L9iSYeuXcZ6isjB8df RlqTDXNP6YPDYgfQDoqd9MeVKO0fIlOzD8D4b1D4rAaql0DZmRinC26rMAJdKdWlfTth sjmw== X-Gm-Message-State: AOAM532BTopx6O0G4jOTe9PW/9kHUImQNMrhExNOoiAzyNjZDuxtfsyO ZmxLY1KvkQ1WB44aVvldgyEuyULGyiJYXxBEw1tJuLzt460= X-Google-Smtp-Source: ABdhPJwWI1MIGRKOrfGdZIqZ3db/kanuzpCg/YpFkR5Suc34+K4doJbOipLuk9L8aubyBuHHtPGRH96j15InjXRYhWA= X-Received: by 2002:a19:4c03:: with SMTP id z3mr1481038lfa.315.1608300201147; Fri, 18 Dec 2020 06:03:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 18 Dec 2020 15:03:04 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000002e82ca05b6bd92f5" Subject: Re: [RFC] Restrict $GLOBALS usage From: nikita.ppv@gmail.com (Nikita Popov) --0000000000002e82ca05b6bd92f5 Content-Type: text/plain; charset="UTF-8" On Fri, Dec 4, 2020 at 11:52 AM 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 > > Regards, > Nikita > Looks like this isn't particularly controversial, so I plan to start voting on this RFC soon. Nikita --0000000000002e82ca05b6bd92f5--