Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124386 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 45DE01A00B7 for ; Thu, 11 Jul 2024 13:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720704482; bh=u+NlK/0OHNW9BxYKrgj234YMgMBJSLetbEJfYWPyvm4=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=cnFqTLcMHGk1PXDpjZ5SFDqR9U29TO+HJ5h2c/jYcYega/XuHeQbk5VhusmJ9HHKS 7+uVvGwge6TnKIiF9ScXkDGMh7LnKzDFgEO9OqO438jOImeV2LWiYaME4nG8Lk/u25 C5YxwwMkyw7XWYY8dqlcLzQL6UvlHLyZRG4o/SAX/uIL1vER/D5RfdEcLxehiusDk/ waeDEN4ubGJeVyEwEQcsiJqlcvycwndjFvRKc4uTCliLRTxoxiItj9JtgfslSO0m+x xFH0fwYcohrCFjZ5K7Xw+4Cpv44oy0cYMCjZaZY83GFmTrELVotSeYOnELJbSRttus OtJqWuFW9OCgA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9F26E1804BB for ; Thu, 11 Jul 2024 13:28:00 +0000 (UTC) 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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-4022.proton.ch (mail-4022.proton.ch [185.70.40.22]) (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 ; Thu, 11 Jul 2024 13:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail2; t=1720704391; x=1720963591; bh=u+NlK/0OHNW9BxYKrgj234YMgMBJSLetbEJfYWPyvm4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=KpkMnxy4RhZyXtW8Esxgj34Z3iVTgRGADb9eRW/q2rD2xQEgADGD7LGcixSMf5Apm 6LHBKJXcTBT1sGcHGOOP3fjiCByv7ERVyHIPRBObUjEvSUn14mL9MhDXtl6NKSQz+s cwRYRLWBqQmNj2fZ/WtgXg+b62THjc++7NKAzyAa6sqvOxMpBRhJXpsYPl+UKo3mNc d+tZawkztq0V1TuIdZITPdbd7hzfekqSR+OfwpmuJCsO+IIFK4eeMFlWiHIoKbQrG4 Ibs0mKNsU10ij5WfnK621lrkzqJ7bzomFs0fe2PolN/+FiSmjeaGumfTp4IvFoSbm0 NVSeg3AeiYRpQ== Date: Thu, 11 Jul 2024 13:26:25 +0000 To: Saki Takamachi Cc: php internals Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Fix up BCMath Number Class / Change GMP bool cast behavior Message-ID: In-Reply-To: References: Feedback-ID: 96993444:user:proton X-Pm-Message-ID: b3bcaa94172dde131a8fd4cd22f7408208b51411 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Wednesday, 10 July 2024 at 07:35, Saki Takamachi wrote= : > Added one more change to the RFC. >=20 > Currently, there is no other expression for comparison in PHP called "com= p=E2=80=9D. The expression "cmp" is mainly used for functions, and the expr= ession "compare" is used for class methods. >=20 > e.g. > https://www.php.net/manual/ja/splpriorityqueue.compare.php > https://www.php.net/manual/ja/collator.compare.php >=20 > Therefore, follow these conventions and rename `comp()` to `compare()`. Thank you, I am happy will all the provided amendments now! Best regards, Gina P. Banyard