Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102676 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22619 invoked from network); 9 Jul 2018 19:22:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2018 19:22:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=dzuelke@salesforce.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dzuelke@salesforce.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain salesforce.com designates 209.85.223.169 as permitted sender) X-PHP-List-Original-Sender: dzuelke@salesforce.com X-Host-Fingerprint: 209.85.223.169 mail-io0-f169.google.com Received: from [209.85.223.169] ([209.85.223.169:47086] helo=mail-io0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/59-49043-1E5B34B5 for ; Mon, 09 Jul 2018 15:22:10 -0400 Received: by mail-io0-f169.google.com with SMTP id i18-v6so2339380ioj.13 for ; Mon, 09 Jul 2018 12:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salesforce.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QOLB7HzMTvYvLTFLD8Rn2BkmRKmjw2YggqGrAv5HhrY=; b=QTwBybrp1d0I8Tc0qZ1T639WiXkC4UNtiQtdmfetcSgWQULP+fsbNt4U9S3k5fThc5 /UVYAXwnO5DV/paFlj8YPOE3LgLWCePsQYcM91d79/j7wyFHxDeRYXPpR2aJjaZVrWAu 4vi9WvpEanQz3HNNfZA24EfTMESUYECfFhanw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QOLB7HzMTvYvLTFLD8Rn2BkmRKmjw2YggqGrAv5HhrY=; b=CWlARIDNmfR9GsMV35xHMlbgY9bRXJTz2cysW2OAZu9poLgH4u41Y1T4x1Mjmra5x0 Vk+7YAIIgsys75aVEgGnPP91xS55WQYguLBNe7zlQCtlZPff+NuMOtK1MZu3vqnvJwNA tcMeBvj8YVl0qkfJwv7lYKaxfD7gEVgabbS/qhrU+RAVix/3V4Cf1FVXmyQlHQI0DMsd M1mYJZ+mBZsQ95UcGMW6MifUkJCH/h9plyZt9VyH9uFcOLkviVcwX0U61NJEajJEIXQ5 h7fx5QKIGHNUdRC5SBaY9wpV5ckiToZzjpgE39fEJOLHYW6BzhamcaZOIcfu638eZ/tK c5pA== X-Gm-Message-State: APt69E1Jx4EZGJurKkH+08mO6uZoS5q8uGjFbMuA860YgJmoCf5zCWzJ G1dIKFcp8OGf3X6SU6Jd+t7+zHAir/S3Ns4+1ETBZA== X-Google-Smtp-Source: AAOMgpdL8GUk/ajYmOQfJt9O9QfeCN53/dhJpKyQ7rqV8Owy4WlD5x9Ed0LLIwQSy67zMYlf6OUBt32S2nzHyGYB+3I= X-Received: by 2002:a5e:c017:: with SMTP id u23-v6mr19224660iol.155.1531164121276; Mon, 09 Jul 2018 12:22:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 9 Jul 2018 21:21:50 +0200 Message-ID: To: Kalle Sommer Nielsen Cc: Nikita Popov , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 7.3 From: dzuelke@salesforce.com (David Zuelke) On Tue, Jun 26, 2018 at 6:32 PM Kalle Sommer Nielsen wrote: > > Hi > > Den s=C3=B8n. 24. jun. 2018 kl. 18.47 skrev Nikita Popov : > > If you have a minor deprecation in mind, but were too lazy to write an = RFC > > for it, please write me a mail until tomorrow, so that it might be incl= uded > > as part of this proposal. As time is limited I don't want to include > > anything larger or controversial in this RFC though. > > As suggested in the past, I would like to add the following to this > list (if its not too late): > > - The (real) type-cast and its function, is_real(). There doesn't > seem to be any support for reals in settype() anyway (side note: in > the implementation of settype() it claims "double" is deprecated) > - Function variants that already exists as constants, php_sapi_name() > > PHP_SAPI, pi() > M_PI, phpversion() > PHP_VERSION etc Keep in mind you can do phpversion("extensionname"), so that function at least can't be removed, as the constant doesn't provide the same functionality. David