Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97353 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51662 invoked from network); 10 Dec 2016 15:10:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Dec 2016 15:10:28 -0000 X-Host-Fingerprint: 109.241.90.225 109241090225.olsztyn.vectranet.pl Received: from [109.241.90.225] ([109.241.90.225:21951] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9C/25-12501-2EA1C485 for ; Sat, 10 Dec 2016 10:10:27 -0500 To: internals@lists.php.net,kalle@php.net References: Message-ID: <7bd045fd-61a8-d0c1-8a98-970f6b13f13d@php.net> Date: Sat, 10 Dec 2016 16:10:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 161209-1, 09.12.2016), Outbound message X-Antivirus-Status: Clean X-Posted-By: 109.241.90.225 Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 7.2 From: sobak@php.net (Maciej Sobaczewski) Hi Kalle W dniu 10.12.2016 o 15:16, Kalle Sommer Nielsen pisze: > Hi Nikita > > 2016-11-18 15:55 GMT+01:00 Nikita Popov : >> Hi internals! >> >> I've submitted this RFC for PHP 7.1 previously, but didn't follow through >> due to time constraints. Now I'd like to propose an extended version for >> PHP 7.2 and vote on it sooner rather than later to avoid a repeat >> performance. >> >> https://wiki.php.net/rfc/deprecations_php_7_2 > > > Another one could be php_sapi_name() which returns a constant value, > from which we already have available; PHP_SAPI > php_sapi_name() is not unique here - as far as I can tell pi() works the same way. And it's not I'm against such deprecations - I just wonder if we want to make it more general rule for proceeding.