Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114035 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 883 invoked from network); 12 Apr 2021 13:06:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Apr 2021 13:06:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5C84C1804CC for ; Mon, 12 Apr 2021 06:06:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 12 Apr 2021 06:06:40 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id l22so7902585ljc.9 for ; Mon, 12 Apr 2021 06:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z3q58TtUsgZSICy83d2iVQorgTCX1o6uJdpxZPD8VbM=; b=bRlYGVayw1nbm3+5CEhnuWESHkyYyj8ddGtEbXhWHMi1nB665d5B4x/RIECCcAu8mD cren3BSFrcPNeGjU15ApQRozSmjC8HKlzE/qLX9cYo9Uov3FB6xtA1KrZzz1kV/xHW+B PxZm6dnIUp2kkB4rnpg0ax2Wh+/SpU+hf554qnJdCerwtm7aSAxlXKe5elzKEHJYCWfu qaNUXOiqhH7/oiLJMUeNsxOAqWkYXHb2Wz/hDo+qVGNI7EmFYMHbzlVu/Z0fE/04p1aW DIXxHMDayxkgbaghWVzN2kEQr6YnZj6Cu5G11AbSeCzijXxQtgp8uizbj9ct6msodNDl 3bBQ== 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; bh=z3q58TtUsgZSICy83d2iVQorgTCX1o6uJdpxZPD8VbM=; b=K8xk+rXi6XMv2pWbyyxeugHtJ/Wz6BT1rXaVUIhfmDAIYEPt/U63x9MV72vNZsue32 Zz5PUt0GzO8hUtYlbpcXOQnNe9kAxp5daK+6Z5CTbL0XLjJkv60u9Hu8giU4NqB2r2In wMGfrEfEFzbN5SINkaZGyZ6KOvMcCeoMKG/TGeNx16YjdKzzR5su9N0TwPhqe0hheV6C HJ1pFWHqEDuSA+3OXkVKm17aiSfEGH9n/rIS1o77kWd4WivmT8zk93baKWcCHec2FI6i thpYoyaBWJj7rfcFGxoLIBflngeWIknTKPK4X8ZyCiJGTVDL/bdcjf/ORRl81guNQGXi tnBQ== X-Gm-Message-State: AOAM531+CEsLaGzQOXNmVa5svOdFsFWzbhfPvfu6CEHaE/pF7JYkaZ3H 00ubbBsnTjKxz8NsWx3kFsWD9+hmMN442oTyfeVUjnnM5T3KaQ== X-Google-Smtp-Source: ABdhPJxcX+a9KC9YRWQ2lQjW2yyr4OaZKjT+nysv2mj4h1INEFZdmPD/4OB/HellLO+9pB9iBvazp4dOlM+JVLwhJCw= X-Received: by 2002:a2e:9082:: with SMTP id l2mr2013753ljg.272.1618232799064; Mon, 12 Apr 2021 06:06:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 12 Apr 2021 15:06:22 +0200 Message-ID: To: Kalle Sommer Nielsen Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000026f91605bfc62f8f" Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.1 From: nikita.ppv@gmail.com (Nikita Popov) --00000000000026f91605bfc62f8f Content-Type: text/plain; charset="UTF-8" On Tue, Mar 23, 2021 at 10:44 PM Kalle Sommer Nielsen wrote: > Hi > > Den man. 22. mar. 2021 kl. 11.25 skrev Nikita Popov >: > > > > Hi internals, > > > > It's time for another deprecation RFC: > > https://wiki.php.net/rfc/deprecations_php_8_1 > > I'd like to suggest adding `nl_langinfo()` to the list of > deprecations, it is a non-cross platform oddity that make less sense > with the current deprecations of functions like `strptime()` (also > non-cross platform) and `strftime()`. Personally I have seen more code > in the wild use array derefencing on `localeconv()` (which is cross > platform) over using `nl_langinfo()` for a single category. > I'm not really familiar with either of those (first time I hear about them, in fact), but it looks to me like localeconv() only covers part of the nl_langinfo() functionality. At a glance, at least the whole LC_TIME part isn't covered. I'm somewhat leery of deprecating functionality where we don't have any other way to access the same information. Regards, Nikita --00000000000026f91605bfc62f8f--