Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121170 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 96922 invoked from network); 29 Sep 2023 07:22:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Sep 2023 07:22:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 271A21804AC for ; Fri, 29 Sep 2023 00:22:00 -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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS9370 160.16.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (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, 29 Sep 2023 00:21:59 -0700 (PDT) Received: from smtpclient.apple (softbank060067217005.bbtec.net [60.67.217.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 9A4FD401E2; Fri, 29 Sep 2023 16:21:56 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1695972116; bh=YRVl10L8SYYFzPbFp+p6RurBEWPO7zSF5wtBKV+dNHM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=c2EG1GVMJBMsNn8N4G9AyHNM+OEnXNFbzUMaZY++OanGM/vw3pvlvrxEsyOr/bP1k Byq9dTW/+ouBDfTdQw0zC0PbaZrjyK51FtNn1YfTSw6FTR6gvUNk5W0p7npng2/Ko3 hoNrwiwXbjtdX8V/gfyVca4x9SeyRN28h6QiLhbM= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) In-Reply-To: <342351fe-e145-2948-77cc-d1faad9f48d4@mabe.berlin> Date: Fri, 29 Sep 2023 16:21:48 +0900 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <35CF233F-0AB8-4DC2-BA17-CA629D797850@sakiot.com> References: <7c99d95e-edd3-57eb-35d1-ea7372e1fcc3@mabe.berlin> <2601BEB7-CD32-434C-9CB7-BF41139CE59F@sakiot.com> <342351fe-e145-2948-77cc-d1faad9f48d4@mabe.berlin> To: Marc Bennewitz X-Mailer: Apple Mail (2.3731.700.6) Subject: Re: [PHP-DEV] [RFC] [Discussion] Rounding Integers as int From: saki@sakiot.com (Saki Takamachi) Hi, Marc. > All of these functions already take an `int|float` and therefore the = setting of `strict_types` is irrelevant here on passing float vs. int. Oops, excuse me, I completely misunderstood the signature. Saki=