Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121150 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 26256 invoked from network); 27 Sep 2023 00:18:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Sep 2023 00:18:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 119CD1804AC for ; Tue, 26 Sep 2023 17:18:26 -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 ; Tue, 26 Sep 2023 17:18:25 -0700 (PDT) Received: from smtpclient.apple (167.148.159.133.rev.vmobile.jp [133.159.148.167]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 46BFD4011C; Wed, 27 Sep 2023 09:18:22 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1695773902; bh=SZIphK3maVshGQQZpoG66b+BVPdka3j9n8gvCCkCxUs=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=B8aeRyUudk/uvfmgvwk5yf0NADxhg4IthH1jWrGiue2ZrI/26of9viIifim71B3xY 3pJ5rMATSOJNlJ7dPQUmjHnlv2fUHYlapzNtFuNmD+7E0NyfALMmXbbanTGyNDVE0e VlyhOFjucx7fTBaFMsZY3h9+O2ijzEe/HStvkJg4= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 27 Sep 2023 09:18:08 +0900 Message-ID: <2601BEB7-CD32-434C-9CB7-BF41139CE59F@sakiot.com> References: <7c99d95e-edd3-57eb-35d1-ea7372e1fcc3@mabe.berlin> Cc: internals@lists.php.net In-Reply-To: <7c99d95e-edd3-57eb-35d1-ea7372e1fcc3@mabe.berlin> To: Marc Bennewitz X-Mailer: iPhone Mail (20G81) Subject: Re: [PHP-DEV] [RFC] [Discussion] Rounding Integers as int From: saki@sakiot.com (Saki Takamachi) Hi, Marc. There is one additional case to consider. It's backwards compatible. If `strict_types` is not `1`, the code currently out there may be passing `i= nt` to these functions. Therefore, it is better to be aware that such code can have destructive effe= cts, and to consider whether or not to allow it. Regards. Saki=