Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73756 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79860 invoked from network); 21 Apr 2014 21:07:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2014 21:07:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:35673] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/71-00448-EA885535 for ; Mon, 21 Apr 2014 17:07:59 -0400 Received: from [192.168.2.31] (ppp-93-104-3-52.dynamic.mnet-online.de [93.104.3.52]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 6121E46363; Mon, 21 Apr 2014 23:08:48 +0200 (CEST) To: Park Framework Cc: internals@lists.php.net In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 21 Apr 2014 23:07:41 +0200 Message-ID: <1398114461.2829.3268.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] Floating Point support in GMP extension From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2014-04-21 at 23:40 +0300, Park Framework wrote: > For backward compatibility in php.ini set default values > ​​gmp.default_precision = 0 No. INI setting is *not* backwards compatibility. An ini setting means that *everybody* has to care about it and mind it and either check or set it. An alternative is a runtime setting (gmp_set_compatiility(true) ), in case the change is really important. I haven't looked further but behavior should not depend on ini. We made the mistake and should learn not repeat. johannes