Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121692 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11224 invoked from network); 16 Nov 2023 00:12:52 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Nov 2023 00:12:52 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 852F8180033 for ; Wed, 15 Nov 2023 16:12:51 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-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,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 15 Nov 2023 16:12:51 -0800 (PST) Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-28019b66ad5so137826a91.3 for ; Wed, 15 Nov 2023 16:12:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700093570; x=1700698370; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PJMxGoHjMaHwyLfM8GWoOECOLum0k8s0MvDBMd7rZWo=; b=CzTegpIzsC6L9dYm9ZszdKoSYRz78dzNs6ZJiceUISEq6FjZ/EGYL1+RY456aiumgL O5tExExeSnXCY1PZfp26+9/IQWu+xsF5bkI11c9QAeVm++FQ0Vvr1WQR6ueDm6MhVYow wd9G06fGYCMeFTe2fbP1DX9evhPKiTXP/mtykr8EynStUPPCwGBYZVU5lEkLjuOKuUxE ID9zT9hspznym62/fjHvMQoT9RsE99P9p6E/CQBBWvz+oY/0P76pzGTXYt6xwvsYpFwd TPkIL7RrVYLHWQdBJFwdcaR1SWUO1XCExAf5cvUiIfXIt/ynMGnXhPaHkqS1a3yHvbmx GRIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700093570; x=1700698370; 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=PJMxGoHjMaHwyLfM8GWoOECOLum0k8s0MvDBMd7rZWo=; b=YfABdhFbRWMZxB5Jztt8ZfqxK7j9F7N7erPnRS4ToQAm29Xl5R5+uazWb1Q1TNSn/k ZY0SEFoD6lfeAt5JrZEZRrehqEUOKNn+RSv7kI7hgJ9VluwKz+vLuuhDMVq2L4CR5JhF rWX564Gdt4DdI8oSTBs5/Bm/LLGzTzXlwO3hYZ0zM3oBawqcLNilQNByfRyIitBYNhml CqWdRGEFbPTXEIBkFLhY0XsGBoTi4CFe+exa8ibIeNurhW73XlY4Yt2+EiGELOqviNbG Y2cvWa9AI0olTfieLGJd2NV2khOvilDxCCILDBV99YjXGlODZNAkCqwfC9DX+9bcpuwl vj0A== X-Gm-Message-State: AOJu0YxiEJ4GodrgK7XX0mNSqvoAzmrr7gR1skPgMNSnQWIB29hGIhgk MdMfvsRMPKgne9rdN7ijQuybnjM+28WDY5z3HG8= X-Google-Smtp-Source: AGHT+IHPkst83ZwBLK7VGHUIByNwd6zBbYJC0Eqt2QD0AWw3jweuBrvOKF6niBbNQsCNYSDim52ioafSr3WEdlbiXfw= X-Received: by 2002:a17:90b:1d88:b0:27d:3f0c:f087 with SMTP id pf8-20020a17090b1d8800b0027d3f0cf087mr14631582pjb.25.1700093569676; Wed, 15 Nov 2023 16:12:49 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 16 Nov 2023 00:12:38 +0000 Message-ID: To: Levi Morrison Cc: Jorg Sowa , PHP internals Content-Type: multipart/alternative; boundary="0000000000004e3966060a39e1b6" Subject: Re: [PHP-DEV] [RFC] [VOTE] Add 4 new rounding modes to round() function From: george.banyard@gmail.com ("G. P. B.") --0000000000004e3966060a39e1b6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 15 Nov 2023 at 23:43, Levi Morrison wrote: > On Wed, Nov 15, 2023 at 2:26=E2=80=AFPM Jorg Sowa w= rote: > > > > Hello internals! > > I have just opened voting on the RFC to add 4 new rounding modes to > round() > > function. > > > > Voting will end November 30th, 00:00 GMT. > > > > Link: > > https://wiki.php.net/rfc/new_rounding_modes_to_round_function > > > > I'm sorry for previous message, but completely missed the title of the > > message. > > > > Kind regards, > > Jorg > > I didn't pay attention to the discussion. Sorry. > > I object to changing the intl code to add aliases. The intl extension > is a wrapper around ICU, and I don't think it's a wise choice to > modify it because you think "ROUND_TOWARD_ZERO" is better than > "ROUND_DOWN". I agree the name is better, but that's not really how > extension maintenance should work. I definitely don't think we should > then _deprecate_ the ROUND_DOWN/ROUND_UP constants in ICU, given that > the extension itself hasn't deprecated them and is still maintained. I > am surprised nobody pointed this out before. > > I don't have any objection to the rounding modes themselves. > Personally I am fine with adding aliases to ext/intl, it is not because the extension is a wrapper that we can't enhance it to be somewhat consistent. However, I do agree that deprecating the existing constants is a bad idea. But the RFC vote, as far as I can understand, is not about deprecating it in this release. Best regards, Gina P. Banyard --0000000000004e3966060a39e1b6--