Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99398 invoked from network); 18 Feb 2016 21:41:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2016 21:41:35 -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.192.182 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.182 mail-pf0-f182.google.com Received: from [209.85.192.182] ([209.85.192.182:33952] helo=mail-pf0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/61-27267-E8A36C65 for ; Thu, 18 Feb 2016 16:41:35 -0500 Received: by mail-pf0-f182.google.com with SMTP id x65so38332663pfb.1 for ; Thu, 18 Feb 2016 13:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=2Hh6i8zALjBM7ShTR2CBd350ug/CnbQPfT+0fXxbJuo=; b=OV7TDhlMSHHFP60k9Cvm3V9gyX7c18vMI6jzgN/aKb5rAhhwKYYbF9CE/Zf2+Vk7D/ Spl61kEqkQfGXNcAu/rTBnRhzBa5RauxLoBZ5MQ6IXSNTH5oumqQ0kM1b1e1AXUl/9ii 5hkO8mns4hikiAXHdmOicGzJ5fYJ4zXMcDVYxglGl8BY4orTGoaSxgcNeswLEL59I0vh tNUjvfHNTnIwv++aV2fzD6qAIf+LdtkIssfTAEsq055zPSMuKLG5uP3O/9105D9Wktd3 HPYNPXSW2e9TVOKTV2+MDdbej6fcDORc5NV/ibDmX5QP/Pe3nunCCj07HByC0Sf536uT gO6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=2Hh6i8zALjBM7ShTR2CBd350ug/CnbQPfT+0fXxbJuo=; b=RzuMAeoux2/AO2BbdhLgYKh74MdIHjHuSMJaXbIMDCEnZmClg5THsbN/BGFqT3Kej9 MXyErWjk2gFIDBJtBwKkyl4yHir71Yblp/Dn2mK75TwQKB2/flNYafVOXA/hKOw2TUEL FPDCbokGVEsggcXvDsmAu++QzKQW5dBVj+mbnhS3zBuQ5XJ4zl4CcfMihptF+rq7vSzu +ln9fD9MM15GmPJzPV/fSeD6JLX7Ews2VeQ5ilQl3SCPjyZGO32hi6Q8kUbttjjJ76YS NtmfACiP51s3khXTmfj2FlsDVltRFT+IMkH3PFQZ8Mgts4QKZw+tspFwCtz27ZBzX7Z/ xnDg== X-Gm-Message-State: AG10YOQwdebWL4fQdwSSZduhJMNpE0XHXYeE0Hnn5TC/vvgOFDfKVYFukmffl/cvr5Z2IQ== X-Received: by 10.98.18.215 with SMTP id 84mr13357551pfs.131.1455831692203; Thu, 18 Feb 2016 13:41:32 -0800 (PST) Received: from Stas-Air.local (tan1.corp.wikimedia.org. [198.73.209.1]) by smtp.gmail.com with ESMTPSA id yl1sm12439587pac.35.2016.02.18.13.41.31 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Feb 2016 13:41:31 -0800 (PST) To: Nikita Popov , PHP internals References: X-Enigmail-Draft-Status: N1110 Message-ID: <56C63A8A.3030809@gmail.com> Date: Thu, 18 Feb 2016 13:41:30 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 7.1 From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > I've created a bulk-deprecation RFC for PHP 7.1: > https://wiki.php.net/rfc/deprecations_php_7_1 > I like dropping php_errormsg. Last time I tried to make error suppression work more efficiently this was a major problematic thing AFAIR, and in general using magic variables that pop out of nowhere is not a good thing. For __autoload I guess since it's incompatible with superior SPL mechanism it has to go too. I'm not sure about create_function() - while it is old, I don't see why we should break working code using it just because better option is available. With rand functions, I don't think we need to touch them. For some applications, low-key randomness is just fine - if you need to shuffle array of 20 elements or randomize unit test to ensure you're not testing same value all the time, low-quality randomness is completely fine. For other applications, there are superior solutions and everybody who needs them already uses them, but again I see no value in removing those functions. It would only cause more breakage and make adoption of new versions (already horrible) even slower. -- Stas Malyshev smalyshev@gmail.com