Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55469 invoked from network); 6 Feb 2018 19:35:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2018 19:35:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.51 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.160.51 mail-pl0-f51.google.com Received: from [209.85.160.51] ([209.85.160.51:33119] helo=mail-pl0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/A7-49805-D930A7A5 for ; Tue, 06 Feb 2018 14:35:58 -0500 Received: by mail-pl0-f51.google.com with SMTP id t4so1903690plo.0 for ; Tue, 06 Feb 2018 11:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ho4gsfpKJi42ruzxthtCjWYzCVsjVYJ+cBsw4FHP2sQ=; b=hsT3hu9LdpTwoMqOY1XzuL+Tgaujf4K1CZjuBK+PKIg+Tby4PNiMX+2KRcs6VxVizV wEu33gZsBoevm6NBIDqJFcafrPHwntK2zTvQKjHbmtyVJZsi/5d7SyIhnNueQ7CEOqev CB5k6QfuexwVWNxNwIjakzS3NxRfb5SsYAInm1UhyGcC7rgWspLuUZZvoliLz3fX31Fw hwVRQflgV7RLSI6nGnrVBN2VhTwkfIPakzMBgPtgeUYc1FVcJ9vXt0oy2Glh+BZ93Rp/ I/TOwtWaSo2NrBfWR0QOheWL/qB8TazYesI/hJ4TLoxgreid/fnN5zeQfZqK3ph46+Zm +rlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ho4gsfpKJi42ruzxthtCjWYzCVsjVYJ+cBsw4FHP2sQ=; b=rQMm4TwofALMku7y5R2iG0tJaQoJiAtesCO4FWMjXeTbuzKVFJjlzHIghTgILsBiMw Bykfy8/9IqcJXayj4oOBxpvGh7UwCgz5+bERBuXl+gA/d8ZFLhoW60PwF1Ikt7pGBjpW rTD3vQUIDzpLLrkmldW5UXC1+u3vEHt48CidpY3iNhWeIt2iCts9fPZKJMCTB8RMRKy+ +VGo7TUWcbDLr1w7cNRc7YQokGa+P+ptGaehmlMauvv2Vs2Xam6dR8Ly2qS/zMbGEER0 YHpVqhoExZ+mD75frdV0qeldznHCrMI37YrXVpHcrmjppQoRw4fL26UYhCwoWrjBceQA Tv0A== X-Gm-Message-State: APf1xPAkq89LYlnZAlw8f+lLQV8RYMIAHmbKnIk2X82iOb7u0kXDMCbj +23CDYKzv40ujyGw/itSgh60HtU= X-Google-Smtp-Source: AH8x227lJP+FE55h90BsF/KPnVrRCarqe5Oj0aEU8obAt3Xh2o5dnpxea6D7iuk0DUbsmCQLU2cp1Q== X-Received: by 2002:a17:902:62:: with SMTP id 89-v6mr3348494pla.284.1517945754537; Tue, 06 Feb 2018 11:35:54 -0800 (PST) Received: from Stas-Pro-2016.lan (c-73-71-144-171.hsd1.ca.comcast.net. [73.71.144.171]) by smtp.gmail.com with ESMTPSA id g76sm22989928pfd.137.2018.02.06.11.35.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 11:35:54 -0800 (PST) To: Marco Pivetta , Michael Morris Cc: PHP Internals References: <07d9e3a0-d516-aa77-4818-ce8b02e8dd08@gmail.com> <79b192e6-a6bd-bd13-6bd4-b56011a5eac2@gmx.de> Message-ID: <0ec42232-8cf3-0c54-69c2-ee38bf6804e5@gmail.com> Date: Tue, 6 Feb 2018 11:35:52 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Thunderbird/58.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Deprecation of fallback to root scope From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > We're talking about a deprecation, not removal of a feature. There's no point of deprecating if the goal isn't to remove. > First of all, it doesn't remove the feature, which means that everything > keeps working as-is, and second, we already have a way to configure error > reporting for deprecations ("configuration") ;-) Configuration removes deprecation messages as a whole class, which is usually not what you want. > The point of deprecations is precisely to give downstream time to adjust > and release the adapted code, which we do all the time anyway. In this case, this would mean "edit every file (that uses standard PHP functions, which is probably nearly every file in the codebase)", to no benefit to the user. This is a huge imposition on existing users without any benefit to them. The fact that they will have time is irrelevant - they always would have all the time in the world but not upgrading - the point is that this change is bad for them. -- Stas Malyshev smalyshev@gmail.com