Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101787 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49424 invoked from network); 6 Feb 2018 19:22:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2018 19:22:03 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pl0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:44096] helo=mail-pl0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/66-49805-B500A7A5 for ; Tue, 06 Feb 2018 14:22:03 -0500 Received: by mail-pl0-f42.google.com with SMTP id f8so1868150plk.11 for ; Tue, 06 Feb 2018 11:22:03 -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=25HL6ejZDbgy/wSPNMCqkT+DeYqUvNnJ/M6fUjvJ1q8=; b=GzpnrkMGcv8G5nH0KXdSvglLX5RcPwvhuDl5V3WbzaYZmGR4XgeLp2Eym0KqQo2dlp GI9gAAuw7MzSLrNEYgmL+9WGgZoPyeJogRn1qnU31jo0u1wNvZ36vd7QPNr+9Jb/b4ya KueVjAhoPBCh6a6hP9k7tIqbr9FVXV5Wig0ITk2eUZpgbsHvydnKZEaUmUfKyRLYksWj 3zN0l7ZpPN+iMTxe1RCN9wSqJUjsUSswFA5/CTB4K4KN6ZuH5rME850DBcqSUWbI98fQ ZX0Q2Gviy/R5BPUsLoshfWkvdcSP7oz64NV9ik8INob9g/d+dAUsdvxGakRgZG/bX8cn Vv0w== 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=25HL6ejZDbgy/wSPNMCqkT+DeYqUvNnJ/M6fUjvJ1q8=; b=er0ow8lSRQ3iA4I1sDNk+9D3TfLQx6MEUyWvYhcIV43VxxmKcoN+iYPuDU8qHB+wLw uzzCbHqOTwoZrJGNVwqJ7flVl78OWesba11FDmYMpPLyB/R//qhlFBUGBXRbNUK+O9QK Z3RnUVp2UJ88OLFBDjFfZQb+o4O+hYhD3FN6emXOaD6nYhOIb6z6Zpq0LIqDls50U/i4 F5sjgH1AKNbMnr2spAoNnnKHBpS29pZqRdzCHPhM6eZ3ddw/Ra+8SOn08orqK90Mom3r 8Q5YIP7JLQvGc4A51Z0nDutS5efbonU0vaCw6kFL2dU0OCsHT+tASeV5hih2G9xVw74/ ZNkQ== X-Gm-Message-State: APf1xPAOPTVs9MzDWcOLX6POyydaLjKoefD2667A8gN3aXK/W61J+JCI HrhGKhwC6fHJtgLOnseCG6rTQLM= X-Google-Smtp-Source: AH8x227IzIpKdA6tYpRRkaNJEKCLjh2mrB4/YnPQlAaUbjfv9uiTm4k75l/xFWNKpTs5cB2enJBZKw== X-Received: by 2002:a17:902:1a4:: with SMTP id b33-v6mr3414397plb.58.1517944919640; Tue, 06 Feb 2018 11:21:59 -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 i9sm25514817pfi.154.2018.02.06.11.21.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 11:21:59 -0800 (PST) To: Larry Garfield , internals@lists.php.net References: <5254389.jkSIk9W2zd@vulcan> Message-ID: <529a875e-5f14-5430-91e7-a6f9612b6794@gmail.com> Date: Tue, 6 Feb 2018 11:21:58 -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: <5254389.jkSIk9W2zd@vulcan> Content-Type: text/plain; charset=windows-1252 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! > That said, I'm not sure that function autoloading will be that big of a carrot > for the major projects at this point. Wordpress is going to ignore anything If they pay for that is to edit every single file that uses global functions (which is all of them) or suffer a hailstorm of warnings then I don't think any carrot would be large enough for this. And, frankly, the amount of cases where I absolutely needed namespace function autoloading and couldn't do without it (like, using classes) I probably could count on the fingers of one hand, and I still could type while doing it. I mean, I don't necessarily have anything against adding this feature, but if the progression goes from "we need namespaced functions" to "we need namespaced autoloaded functions" to "we can't use strlen without ridiculous prefixing or adding "yes, I still want strlen" in every file every time" then I'd rather not have namespaced functions at all than deal with that. > outside of very specific libraries (such as functional tooling libs). So "yay, > you can now autoload namespaced user-defined functions" will likely be met with > a lot of "what are those?" It won't be just "yay, you can now autoload namespaced user-defined functions", it would be "yay, all code that uses strlen is not throwing noisy warnings, but on the other hand, we made this obscure feature you never used easier, so rejoice!" I wouldn't rejoice. -- Stas Malyshev smalyshev@gmail.com