Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121573 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33602 invoked from network); 3 Nov 2023 20:51:15 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Nov 2023 20:51:15 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B5DCA1804D5 for ; Fri, 3 Nov 2023 13:51:14 -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.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 3 Nov 2023 13:51:14 -0700 (PDT) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-9d224dca585so375337666b.1 for ; Fri, 03 Nov 2023 13:51:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699044673; x=1699649473; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cfXEQCdmI2FvqrMa+bjq3sSDB1YrxU4z/HX07Av899E=; b=fSi5P9aLgXaLceeTkhY/7dJS7GXLs8pARlx+ln4QDIvAeL4kVrlT7tP7HVpf3MOcPy 1gIX+gmuTjZ5DSZyBN1g38+SmcKlihWPW143wZrFujA4rJ4SJvpL8xlskxYbKvZVkk0z GOjGPBgrjyqW/GSjTjzIwKkShWG56sJ51yTJ+RLaT9CPCkjtpYOlrn15UC/NlwXs2wTs TBeaiR68GS4gIebCy4dMI2sUUDLQqgPgv6cbtF1nWPEtWLJBwYaRJA5zTgi7xpt3o7BI 0nd9+QTBBm7v/wuO1D1t7etLnSYNWxmA/b0cm9TeMxm9Pfs1BkyzqH4LzsGYsz80J11J GPRw== X-Gm-Message-State: AOJu0Yymr7SKOYSeKDZpg+RxWPh74Kx+rNoKwqq1hAc4MuaNysfQtamS 1/M01DmXmFeX88LZH6SBDVklCFZjObF1wXLptmY= X-Google-Smtp-Source: AGHT+IFGi/5QUJ1Jx7duUP5QiDMrpcUNSvveRz0EUBcdQOHvnGafY0X0oL9dNSGv4lXwYZ1PplTBMrMv6smU9OZeJZ8= X-Received: by 2002:a17:907:934d:b0:9b2:b786:5e9c with SMTP id bv13-20020a170907934d00b009b2b7865e9cmr7522240ejc.28.1699044672592; Fri, 03 Nov 2023 13:51:12 -0700 (PDT) MIME-Version: 1.0 References: <9d9acbd8-0b92-419e-b9c6-d7e35d0748dd@daniil.it> <7443be7f-0e78-49e1-ac2e-e33d04e76247@daniil.it> In-Reply-To: <7443be7f-0e78-49e1-ac2e-e33d04e76247@daniil.it> Date: Fri, 3 Nov 2023 20:51:01 +0000 Message-ID: To: daniil@daniil.it Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000002add1f060945aa2e" Subject: Re: [PHP-DEV] Deprecate posix_times From: bukka@php.net (Jakub Zelenka) --0000000000002add1f060945aa2e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 3, 2023 at 6:49=E2=80=AFPM wrote: added in p= hp 8.3, that's why I couldn't find it in the docs :) > > Respectfully, I will still be editing the deprecations RFC anyway to see > if the voting passes. > > Hmm, didn't you say this previously: > The main reason I would like to see this deprecated is not the fact that > it's returning a less precise value compared to getrusage, but rather > because it's returning a value that cannot be interpreted in any way > from pure PHP. So if the constant is added, which is trivial, then the only reason left is that it's returning slightly less precise value and maybe slightly harder way to interpret it, right? If so, then I don't think this is enough to break BC. It would be much better done using documentation where we should also add a note about the new constant. We should really realise that any deprecation and its subsequent change in major version can have impact on users and adoption of new PHP versions. There should always be a very good reason to do deprecate something. Cheers Jakub --0000000000002add1f060945aa2e--