Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101759 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94281 invoked from network); 4 Feb 2018 09:07:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2018 09:07:31 -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.47 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.160.47 mail-pl0-f47.google.com Received: from [209.85.160.47] ([209.85.160.47:45859] helo=mail-pl0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/44-49805-25DC67A5 for ; Sun, 04 Feb 2018 04:07:31 -0500 Received: by mail-pl0-f47.google.com with SMTP id p5so9663567plo.12 for ; Sun, 04 Feb 2018 01:07:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Rbdv3wHxpmhBL2DGkWM/aTtnZSquVNzD0MZjaOlrpCU=; b=spRq6IMVLiDB5FSlAuP+qED61qjESp6ku5eJe5qzAZwRqJzc6AdZIqeO3UA0Xw0tHE MtiQ/mnvUYKwf2Zj/XCjU1FFbyCfffopZszE1wrY17P8xj6rXT7uHoGRKQEPZtmwcZE1 elmHukqOMR0iElc7DuZ2wSJVqKjiEfLKCKTqgQ6ZS2ROnAe/tpuIZLaJTUwP59p/izSS eHuHUGF03HKZX7Zk+j+WWeChbk7rldVsq9sFpwI5OiKMHDkEeSMD/hTiHcyESC2ZZls7 cVv6mTbZ7myCphV5AzO41U5JjMDR07kMb0/QEK0jGZifJyFBP2JciVvmEjQqG9Rtho01 eqJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Rbdv3wHxpmhBL2DGkWM/aTtnZSquVNzD0MZjaOlrpCU=; b=rQE5VVUsznZQcMWrmq6wSey5B5WJxxvdQzdIlBlrkkb/64zU4bv+GVogsfVjPeAleC FO1x3i6Bm6a8oDD9ZuLkq9PhI2BaQiXtTIxooVYPJOpmk3FoUSxoYrdUV0eMOF9nYNkm PrcYe0Hx3iIq21SlvfiHf3AA4lxWT3A+wgBHsjj94IS/rwjm9TLnd864ew6Ln8b64Yns EbZ3VmdUngReDkHLVi+g2UrHL/zsUUO3H3MuA7kv9bWsvG5EHQ5dLka66HWQQBIetWLd xVEp3orPT2hoeDmBu5lAhYipwg0qkHaxyuuWdmNT10oAkUSBbwWdPzQjaHxqfTk/9MMs O4Bg== X-Gm-Message-State: AKwxytev4LEaz6cEVFJ6RjKq+9kz/bYbTbnkrKIXs3KV9zHjiYiSOI4h wlBQkVorUw5643PilzxdZPjFmAA= X-Google-Smtp-Source: AH8x227edP2j44lQka0GnC/hThIufzCfd6pLjkcGivdj1yhBpjZUTJCPUstKQOjwtTkuJdkTAu/41A== X-Received: by 2002:a17:902:2468:: with SMTP id m37-v6mr30968171plg.149.1517735247612; Sun, 04 Feb 2018 01:07:27 -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 t21sm12041453pfe.122.2018.02.04.01.07.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 01:07:26 -0800 (PST) To: Wes , PHP Internals References: Message-ID: Date: Sun, 4 Feb 2018 01:07:25 -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! > I hope you like it. Let me know what you think. > > https://wiki.php.net/rfc/fallback-to-root-scope-deprecation I do not see how this makes sense. This RFC claims there's no BC breakage, while it deprecates one of the most widely used functions of the language (using unqualified global functions from inside namespaces) and adds warnings which will break a lot of existing code (and yes, notice and warning are basically the same). I do not see how it makes sense to force people to use \strlen everywhere (since most of the code in large apps uses namespaces now) for a tiny and rare possibility that someone would override strlen. Unless I serously misunderstand what this RFC is proposing, I am absolutely against it and think doing something like this would be harmful to PHP. Am I missing something here? -- Stas Malyshev smalyshev@gmail.com