Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121894 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 62446 invoked from network); 1 Dec 2023 11:53:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Dec 2023 11:53:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D78E3180035 for ; Fri, 1 Dec 2023 03:53:45 -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=0.5 required=5.0 tests=BAYES_05,DMARC_MISSING, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 ; Fri, 1 Dec 2023 03:53:45 -0800 (PST) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a02cc476581so295464066b.2 for ; Fri, 01 Dec 2023 03:53:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701431615; x=1702036415; 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=RQyue7L+vVXPYExEC6E7qJjv/YgGaVQ44EbkvPvNNCQ=; b=D7OuajmSCYCELLcBitfKLwFMV4hWVXtIrU5S65pMSouk61Lmv803sKSPbzsfM/8EkC eMEGihwL2NoO25VX4bzRtf/QTL/tTFrdIQ+P8HZQDXkdjm28i8VVrUOoPnjn/4Ust9rv vgM8SUFE20XbJlKhj7y+J2YsWhILaR7ITr0LZqa+y03TG3kxx2NYa5sWG0X1PeV0G4Gk A3YLE8Y2qgI5bUjFLyOY63urytUIs5CPUIk733cI4QzNlwJ13uzuexy42CgoqCfAUI9h glW8XR+a9uwPWbDhnP6zMIbgH3TEYAA240bZBl/nD69VpneXrVAj149af9WYKxHgeAlg Syhw== X-Gm-Message-State: AOJu0YxalXdKR2CoyKzRFXQ7gwyCjCD3MEj+juNxIkpjtT++tqvThgD4 UgZUP7QSHACEbB6GYG0qXj0kzhNBCKIU5gpYSwoEUySxnlo= X-Google-Smtp-Source: AGHT+IFiCBTXqikxqDXS8NaUmXBAQqMAonK5PAztzSeoMD8hgkb3wVjFuuBdk6r1j1RMEx5znG9W+lSH0LIEgPku2is= X-Received: by 2002:a17:906:518:b0:a0e:aecf:8570 with SMTP id j24-20020a170906051800b00a0eaecf8570mr682884eja.47.1701431614688; Fri, 01 Dec 2023 03:53:34 -0800 (PST) MIME-Version: 1.0 References: <42FA33F7-32E2-49B2-B903-AE963EB19B61@sakiot.com> In-Reply-To: <42FA33F7-32E2-49B2-B903-AE963EB19B61@sakiot.com> Date: Fri, 1 Dec 2023 11:53:23 +0000 Message-ID: To: Saki Takamachi Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000000d078060b716b1f" Subject: Re: [PHP-DEV] [RFC] [VOTE] Change the edge case of round() From: bukka@php.net (Jakub Zelenka) --00000000000000d078060b716b1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 24, 2023 at 12:31=E2=80=AFAM Saki Takamachi w= rote: > Hi internals, > > I started voting on my RFC "Change the edge case of round()=E2=80=9D. > > Voting will end December 8th, 00:00 GMT. > > https://wiki.php.net/rfc/change_the_edge_case_of_round > > I have been thinking about this one for a bit and I voted no at the end. I would probably pick the new behaviour if designing a new function like this but considering that it's been around for long time in this form, I don't think it's worth to be changed as it introduces slight BC break that might difficult to figure out. Also the old behaviour might be more intuitive for users so it does not seem completely wrong to me to keep it. Cheers Jakub --00000000000000d078060b716b1f--