Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106020 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 62084 invoked from network); 22 Jun 2019 01:49:14 -0000 Received: from unknown (HELO mail-pf1-f169.google.com) (209.85.210.169) by pb1.pair.com with SMTP; 22 Jun 2019 01:49:14 -0000 Received: by mail-pf1-f169.google.com with SMTP id q10so4307191pff.9 for ; Fri, 21 Jun 2019 16:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nPS3aj9SUjdnpXzXV+xmfqfXLIbsviw24khP1nLOobs=; b=VyixDn7gPQyNUGC3QFQE7NvxmFqL3FhCAlP2dfXQ1vdO40441fUsz/wVxW7baP4lcr C35fYCus0E7oZrwbmE9GjjpH13/3ksgBpk33rBPIDzYhnO0E+gHJZ4o4SPduHlcm72V+ FENODytBBHfq+yRQAp+zB2yuUJ8Y1kR1ZQnWUa7qN5sKXGrqCEXPTIRca0wO+abjCGZw VdIdxn5pWDauk5tQtHH1KTXGFBMHKzQmnBRuDksunPMFlc1my3vwXkQaVCB62GQNnPPq Ruhid1BHmjk9+TwE6nXu86GTANR2ABo2vkME/dnhyXzqqu4GENRgeQ25svkuhIP/D9Zc fzag== 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:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=nPS3aj9SUjdnpXzXV+xmfqfXLIbsviw24khP1nLOobs=; b=qKof2jbTX+QkIH2/HOYolMTUUUmYRYiQfVcCHonESsfkwe+NECgq/QIyypTnlJmMKE OJWIwwnApIZHaVIvCEaMKoUgBafOVUGHmzonV4ZuyJK+qDsFh06ywOgCAQoL+eIfTZ8w I3mpCEyYmJZW28GqPmdgrj6Tc+dKXEwzXoU0hsDhEcCnAIM2DBqXwL2oIA0V8gI0v2h6 rv4lG4rt1fcuHH1i7lQEi4+zY7s/60MV40nHdOGrRZnFTBCDs4OsU9qSpz4QMVqf5AIe Q4QpI7PCiXAuJJ+UcPvfkMT8gBH7WghqpojLOcLA+VVH7hEFoVaSne9cNtwQRmjeY4cw wsBw== X-Gm-Message-State: APjAAAV4uMMbwQs4YvdIHesRNYzdDWplEz9VZTuKIcpNsFB6P3i81PkG qXWqgIgSJeqvvPQshINGag== X-Google-Smtp-Source: APXvYqyZElbd430dKGpphoLeO1G8G8vVCM0UHGt/+w5NisYP9sbzCSO4sXX6vPlyxxcRfkkcmHOhzw== X-Received: by 2002:a63:d756:: with SMTP id w22mr13798594pgi.156.1561158269181; Fri, 21 Jun 2019 16:04:29 -0700 (PDT) Received: from Stas-Pro-2016.lan (c-24-4-176-254.hsd1.ca.comcast.net. [24.4.176.254]) by smtp.gmail.com with ESMTPSA id u23sm3616171pfh.84.2019.06.21.16.04.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 16:04:28 -0700 (PDT) To: Kalle Sommer Nielsen , Internals , Nikita Popov References: Openpgp: preference=signencrypt Autocrypt: addr=smalyshev@gmail.com; prefer-encrypt=mutual; keydata= mQMuBE9mqaARCACFSqcGmNunkjQQu3X+yXnTmFeEkvM4JXZTOBdR8aEevNGmmFEfyvjaDjWi 9hcwp4E/lYtC+P7VsVjM1OSX9eq0jC/lGL0ZyRXek+mNy0n5H1NSuTpf9Y18LMqhc4G+RU+L cNiZ9K0DJuOOvNLPxW7OHZguxb3wdKPXNVa2jyRfJAKm2uaJJMT1mTmFT9a0Q8SKr+mUrrJk uG0H2o6SzrKt8Wwoint1eh67zVsJaJtQFchnEZnlawIcqP2yC4nLGR3MkubowxoEBYCZet18 aHVVRbvpG2Qtob8Lu5xrsGbmXymTkHTdpvkfcJFADa8MzOL90zOxXwbGfbIZOlh5En8j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G++CX ubEvip/eJkZl93/84h04KQJwsgOrAh0Om3OePRn8Pr+++0LNS0EL8uX/YHeTOGOnnmTqYTey SBVFdov6L4mepddfjekicKQqhL7mZh/xuq29JijT0uNNX8v4vDWQDu5dlAcdd+uB3gcXMD/P ginD11zp+6wtrWCm/+yBqpvDwXQX5PGUnwvbRfl7Ay3MmwmoXiecZMg0dwTSc7e0lhB4HGRH ZdBMJB4rHUVGdzqujK/ctOvrAAMFB/0Utb76Qe6sCMlHxVAmeE/fbo7Pi05btZ/x01r67dHf aMSP0riCKJ7M0OW+jAXtu9+z/BVnYisW67WWfxl2cS5tZDgiHgJARXWUOO72+sScHP8KQmTl 1z16gyKbwY3SmyBkwcpOL35nhUWNLy93syPoY6sZUTikr2bZYukHDQ33XBPs4e6MbWKfsa9q aVmnlOF3k5UqChjutfHaEa4Q7VP4wBIpphHBi9MI16oJIzzBPbGl2uoedjwiZ6QeQZnSuOVY ZxU2d3lRA8PrtfFN1VSlpEm/VcAvtieHUYWHN0wOu+cp3Slr5XJVNjTjJhl28SlinMME54mK AGf2Ldr/dRwXiGEEGBEIAAkFAk9mqaACGwwACgkQL3lWvF2gS126EQD/VVd3FgjLKglClRQP zdfU847tqDK4zJjbmRv5vLLwoE0A+wbrQs7jVGU3NrS0AIl5vUmewpp2BKzSkepy23nWmejw Message-ID: <09a8bba3-d17a-a8e5-f9b7-cc3d65f1e66c@gmail.com> Date: Fri, 21 Jun 2019 16:04:27 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 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] Deprecations for 7.4 From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Nikita and I would like to open the discussion for the RFC: > "Deprecations for 7.4", this RFC targets a larger set of various > features targeting for deprecation in 7.4 with the intention of > removal in PHP 8.0. My first question for many of those is - why? I.e. it deprecates a bunch of niche functions. Most people do not use these functions, so they probably don't care. Those they do use them would find their code broken or produce new warnings and needs to be changed. I have hard time identifying whose life would be made better by these changes. Now, if some of these functions are hopelessly broken or have no valid use cases - like magic quotes - then phasing them out makes sense, and the audience whose life can be made better are people who use those unaware of them being broken, or plan to use them and would thus have broken code unless we warn them (or remove the functions, eventually). But for functions that work just fine, I see absolutely no reason to introduce friction without any apparent upside. For the specifics, I think things like removing allow_url_include requires separate RFC. It's a serious functionality change, and bundling it with 20 or so other changes would not allow to properly consider it. In general mass-change RFCs usually are not very conductive to properly discussing each specific change, but mixing changes of different types makes it even worse. Same probably holds for "Unbinding $this from non-static closures" but for different reasons - this looks like a consistency change which is necessary to bring Closure in compliance with the rest of the engine. If non-$this call is not supported in PHP 8, then bindTo(null) should produce an error, not sure it even needs an RFC for that. -- Stas Malyshev smalyshev@gmail.com