Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121243 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 89685 invoked from network); 5 Oct 2023 21:37:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Oct 2023 21:37:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1C28C18005C for ; Thu, 5 Oct 2023 14:37:39 -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, 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-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 ; Thu, 5 Oct 2023 14:37:38 -0700 (PDT) Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2c189dabcc3so17054341fa.1 for ; Thu, 05 Oct 2023 14:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696541857; x=1697146657; 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=Fj5699Q7qhtKOUJ6bbcLOujdiJcC/noJeGFfLnn4QBg=; b=D5yow9sCbhs7AVvi5hIhDOmwQquhkQJy4n05iQWmQplEMiJL/0kDXc4N2JC8sOazZ6 F3pBLNh5rY1H81iPwTCrOdF0IZp94+U4FkTyrOH2HOvFYBcVXWs3/SiX2mRgUDMSzF4V dLYaynsxHl9e68aoh19g2mtQk8ELolUnWUtyLHUeQHMpwdCmIIuHyFe8YIqMpIbWxe55 401vvUYTolCEcBrdLr+uGzjgL3ZV1IEjfFsXzpozPaQo+u6KMR4LdJyLUnam3SFLvkLB B5QYUToLPS5bz0OkN13jeHI4fQ3ohEgO4cQyO1GbpICTO32+QhEfYYyckAqK9k36zuXh WjAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696541857; x=1697146657; 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=Fj5699Q7qhtKOUJ6bbcLOujdiJcC/noJeGFfLnn4QBg=; b=KCQJBNkZDoBZw90KvTfPfsuf5Jb1UsnGvQBr+VQt167iHAw2SUgHYVRWEYwCb3tdB1 RUxXtne7atdiQWgnJB0HLBV1EukkF/H2LIcKzo3i4JMjPWDF31OfeREtdmCI8JWqe43Q ukXWLkFdWJbjMtkLRdPNjQNmoUQTcPehBjeMM1mcJI2uTvF8jb3oE0fUse0ne3NtgBuZ N3+MoTkjqadDx4PiX1cwPSfWlkuzsEt8rB2XsFabVGhefgBPrk7TzW0n+5k0GJ0nrRts gaJjOWEv8AZhQNCcj2P+CwWx4cVq68afogHMc6ceEuS+AaK4esS/S8zLAXlLQ8ubDH00 UrFA== X-Gm-Message-State: AOJu0YxR0fhQBBNmwSlf255Z001xXyzClM/ijt//lemtU+BvTSQ5hwZy rIVsrsjgxx3V0mXz0f/WVAFEMV9ckklCk+FNniQ= X-Google-Smtp-Source: AGHT+IGIv2EjtUnYQZTv3fO8d0/Q5Vl+7dmgsuebkhUSZrdvmyjQFiYNdzqRnbg/z1MTrKch75QBSVEm3HBksgM8NHU= X-Received: by 2002:a2e:8505:0:b0:2bf:efcd:8022 with SMTP id j5-20020a2e8505000000b002bfefcd8022mr5614404lji.28.1696541856613; Thu, 05 Oct 2023 14:37:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 5 Oct 2023 23:37:25 +0200 Message-ID: To: "G. P. B." Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000b5cd320606feeeb9" Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Add 4 new rounding modes to round() function From: jorg.sowa@gmail.com (Jorg Sowa) --000000000000b5cd320606feeeb9 Content-Type: text/plain; charset="UTF-8" > I don't think deprecating the constants in the version where the aliases are introduced is a good idea. I removed the deprecation. You are right. > I will also echo Tim's idea of using an enum instead and a union type. > For the namespace, I think it would make sense to use Maths\RoundingMode Doesn't Math/Maths namespace introduce BC break? Kind regards, Jorg --000000000000b5cd320606feeeb9--