Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123285 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 507BE1A009C for ; Thu, 9 May 2024 14:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715263319; bh=g3cfDq06T+G4a4Y9PSMTmCQATHQPCLbUczB0RvzqUXw=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=LXp7+oeZganF7q11bj4v+y72VHkVypRzJHWTOq1nJFxzL993WxNrIvBN499WBmi0G rPLSaanmBWgjWfvNDz76jzx0CjoKp17KGVnw/sxTh8xlIoqUlUQAZNWTxjIlGJY5L1 7P42zBWn3ygJGIQu2hwrs9b2RsXREpx56WHQZL0x8VKxE4S44OUceX9nmHvvI7y8KV q1NcxM/4Z2VkgTcB3E8InpHqJwgnuXCENZBKgzIWJf0zxJxL1pptd2fHOXQmw1H7u7 T776LziDG3UcDWindofwbHGUQ3uldzAEAqEe1owqZzcwmseF0cYkadf4vYUXjqb2V/ r5cUsBJ3l+dKA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6D3C41801D7 for ; Thu, 9 May 2024 14:01:59 +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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_PASS, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Thu, 9 May 2024 14:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715263269; bh=g3cfDq06T+G4a4Y9PSMTmCQATHQPCLbUczB0RvzqUXw=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=grSuwb0i4MJgS3B5ej20sIbqW3Q7UvCGBWwKhISk+8WFAPXL3ph8gfCKaH2dn3/jY 8Zku37ASBYWSGxEqyoC//cewKruXg/+sYtucd1ykK5W/bxqb6yKIi4CLhH8MwHo2VZ gId1kP8SHotfzPeO1bZlBao+Omq6WaYAqj/LOxR1aGCM5i0CWwqYSdrYMbwyjfDz5G kID804Fe2ufTrVZTRMvhm1sfN1HsmLXQIdLCfjOxxB7wMpfbVHsvDAbVOhi70JeRgf WJ/yps/3LnW+WN+j15BcjCgmKiuY4VKZMHYz9jWWkHynCf+W4dkxEFeDFTay74GQNa kw2QTzfhgISmQ== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 110A010C4F7; Thu, 09 May 2024 15:01:07 +0100 (BST) Date: Thu, 9 May 2024 15:01:07 +0100 (BST) To: "Gina P. Banyard" cc: Saki Takamachi , php internals Subject: Re: [PHP-DEV] [RFC] [vote] Support object type in BCMath In-Reply-To: Message-ID: <73e58391-725a-f673-f394-f1dc0b79ef95@php.net> References: <58283467-CABC-4868-A691-A52228C5296F@sakiot.com> <6Kx-yDO_RoWi8qV0NDhpziE5VX-cDF3g5RCEUjqh5iOnM2x2pWtYPz0j3bNUz-BdkkIVXXG38tu8fP9FuAiQYl2oDcTYAUivNn63B10Vw9I=@gpb.moe> <9BD04F6A-95FA-4C04-AE9C-B9ACB92A9D58@sakiot.com> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII From: derick@php.net (Derick Rethans) On Tue, 7 May 2024, Gina P. Banyard wrote: > On Tuesday, 7 May 2024 at 15:46, Saki Takamachi wrote: > > > On Tue, 7 May 2024, Gina P. Banyard wrote: > > > > > - Are the existing BCMath function going to be adapted to handle > > > the new Number object or not? > > > > No, that is not considered at this time. > > I am struggling to see a reason for not considering this. I think that would cause confusion, as BCMath/Number objects do not work with the global define scale (for good reasons) and bcmath* functions do. I think I am in favour of a clean "break" here. cheers, Derick