Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115233 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19051 invoked from network); 30 Jun 2021 10:10:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Jun 2021 10:10:31 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BA9F91804F3 for ; Wed, 30 Jun 2021 03:30:45 -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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail1.25mail.st (mail1.25mail.st [206.123.115.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 30 Jun 2021 03:30:45 -0700 (PDT) Received: from smtpclient.apple (unknown [49.48.223.161]) by mail1.25mail.st (Postfix) with ESMTPSA id E195460500 for ; Wed, 30 Jun 2021 10:30:42 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Date: Wed, 30 Jun 2021 17:30:40 +0700 References: <9d6kdgthgqvc5a75ta99hkptqoe5soei3k@4ax.com> To: php internals In-Reply-To: <9d6kdgthgqvc5a75ta99hkptqoe5soei3k@4ax.com> Message-ID: X-Mailer: Apple Mail (2.3654.100.0.2.22) Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.1 From: php-lists@koalephant.com (Stephen Reay) > On 29 Jun 2021, at 02:28, Jan Ehrhardt wrote: >=20 > Nikita Popov in php.internals (Mon, 22 Mar 2021 10:24:51 +0100): >> Hi internals, >>=20 >> It's time for another deprecation RFC: >> https://wiki.php.net/rfc/deprecations_php_8_1 >=20 > FWIW, a quick search returned these results. >=20 > ADOdb still uses strftime() > https://adodb.org/dokuwiki/doku.php >=20 > 2 plugins of Matomo (formerly Piwik) still uses strftime in > Login/PasswordResetter.php and RssWidget/RssRenderer.php >=20 > The simplepie library still uses strftime: > = https://github.com/simplepie/simplepie/blob/717d9ea4bf1a8533d5a26128b7acc1= 598388ce66/library/SimplePie/Item.php#L882 >=20 > Limesurvey still uses strftime, in the ADOdb functions and in the = kcfinder > functions: > = https://github.com/LimeSurvey/LimeSurvey/blob/6437c998731e1e79da24c394ef20= 5444cfa75cdf/third_party/kcfinder/core/class/browser.php#L784 >=20 > Drupal 7 uses strftime in the date module and in the views module: > https://www.drupal.org/project/date > See date/date_api/date_api_sql.inc > https://www.drupal.org/project/views > See views/includes/handlers.inc >=20 > Drupal 8 uses strftime. Example: > = https://api.drupal.org/api/drupal/core!modules!views!src!Plugin!views!quer= y!Sql.php/function/Sql%3A%3AgetDateFormat/8.2.x > --=20 > Jan >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php >=20 (Bah! Sending again to the list, because me stupid) I=E2=80=99m sure some of those are legitimate - but to my eye, the = Drupal 8 example at least, is _not_ using `strftime` in *PHP*.=20 I believe it=E2=80=99s making use of the `strftime` function in SQLite.=