Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122756 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 1E4691ADA93 for ; Tue, 26 Mar 2024 14:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1711464693; bh=yXH8DZg+Y4D1ulrteeujiW7Pw4yh0dT3xRqbovho/wg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=kjMQYsQxnJb99JEDheV1dXNPa78gFd8l8JqVQaL3U0oshej4M/hlz7qkRjYzZAZKh MZweXzXWDoibTA8O80kkwiUZLhtAj9TvrsruGMITk0JzhyCeOWXdeObVl+eVtZ2pZx k9LsFxCcwhrzpMaFmxy/MP+/7qFfE7Z2ya2wlcbc7oYuOjA0/QkJYA3SrzPKSDtCZN zd1Re591Y9NM2ag8HG7bCL9O/zOfoF8KOlnifJIM4gKNjkPDFpLs86bpA5ss4bfSH3 sHWAsXSK+a4rZoTrLCn3aZuMZqFyyjibNQX9CcbtIKA6NMdbsNJzRY1EPqY+UX1VRh w8zeykdV0zuyA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D0621180AB6 for ; Tue, 26 Mar 2024 14:51:28 +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,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 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 X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 26 Mar 2024 14:51:26 +0000 (UTC) Received: from smtpclient.apple (unknown [117.55.37.250]) (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 3D7CA401F2; Tue, 26 Mar 2024 23:50:59 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1711464659; bh=yXH8DZg+Y4D1ulrteeujiW7Pw4yh0dT3xRqbovho/wg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=HjCSTVdAEj6HMa8yC1MEufjrTuenRYVaewXahY+BmmOm/mleA/pHXwFIqtUrmjqJB MMSq/7jCzcOajd1HAElCTrsco9GwGr5E1zh/6casL9NQRr64vBa+ajLfFb1WWM2oJj wB1kDTZl2H/4ywfj+5QVLcK/uiDeADYGFltjGWho= Content-Type: text/plain; charset=utf-8 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath In-Reply-To: <0e9e98db-2ce2-4782-b1ba-e26ef509e76e@app.fastmail.com> Date: Tue, 26 Mar 2024 23:50:46 +0900 Cc: php internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <4F094EDA-5058-407D-AF39-06FD934FDE1F@sakiot.com> <38d69258-cdaf-45d3-ba52-dc1398301c8c@redmagic.org.uk> <5085240B-75B8-40B8-81B9-0E80B80B7C44@sakiot.com> <48be5c48dfa8ae2498d185322dd83aa3@gliadin.co.uk> <0e9e98db-2ce2-4782-b1ba-e26ef509e76e@app.fastmail.com> To: Larry Garfield X-Mailer: Apple Mail (2.3731.700.6) From: saki@sakiot.com (Saki Takamachi) Hi Larry, > Global mode settings are an anti-pattern in most cases. Please avoid = those whenever possible, as they lead to unpredictable behavior. Yes, that's right. BCMath has an existing global setting, so I was wondering if it was = something I could ignore. But that means there's no reason to use global = settings other than "they exist in existing implementations"=E2=80=A6 Okay, regarding the existing global setting, I decided not to support it = with BcNum. Regards. Saki=