Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91378 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87981 invoked from network); 24 Feb 2016 17:34:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2016 17:34:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 212.232.25.164 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.25.164 mx208.easyname.com Received: from [212.232.25.164] ([212.232.25.164:41556] helo=mx208.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/FE-38634-E89EDC65 for ; Wed, 24 Feb 2016 12:34:09 -0500 Received: from cable-81-173-133-29.netcologne.de ([81.173.133.29] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aYdK7-0007qU-1F for internals@lists.php.net; Wed, 24 Feb 2016 17:34:03 +0000 Reply-To: internals@lists.php.net References: <47.95.38634.798BCC65@pb1.pair.com> <56CCFDD2.4000102@gmail.com> To: internals@lists.php.net Message-ID: <56CDE96A.7030402@fleshgrinder.com> Date: Wed, 24 Feb 2016 18:33:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="D6O8T7oNtAp53q4xdFCXOVNnLTHpMKvoi" Subject: Re: [PHP-DEV] Re: [RFC] Deprecations for PHP 7.1 From: php@fleshgrinder.com (Fleshgrinder) --D6O8T7oNtAp53q4xdFCXOVNnLTHpMKvoi Content-Type: multipart/mixed; boundary="wdLFaHAkIeMUaBBRuOx91tqSMNk8HT6Up" From: Fleshgrinder Reply-To: internals@lists.php.net To: internals@lists.php.net Message-ID: <56CDE96A.7030402@fleshgrinder.com> Subject: Re: [PHP-DEV] Re: [RFC] Deprecations for PHP 7.1 References: <47.95.38634.798BCC65@pb1.pair.com> <56CCFDD2.4000102@gmail.com> In-Reply-To: --wdLFaHAkIeMUaBBRuOx91tqSMNk8HT6Up Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2/24/2016 2:11 AM, Andrea Faulds wrote: > Furthermore, if PHP developers find floating-point confusing and are > genuinely surprised that 0.1 cannot be represented in binary exactly, > then perhaps they should go and learn about what floating-point numbers= > do, rather than na=C3=AFvely continuing on thinking they're decimals th= anks > to PHP lying to them! It is not the job of the language to try and hide= > that floats are imprecise from programmers. >=20 +1 for removing the options and on the RFC. I have to deal with float comparisons and BIGINT being cast to (int) in PHP every day and people simply do not get it. The language should be brutal when it comes to these things and warn, throw exceptions, whatever. :P --=20 Richard "Fleshgrinder" Fussenegger --wdLFaHAkIeMUaBBRuOx91tqSMNk8HT6Up-- --D6O8T7oNtAp53q4xdFCXOVNnLTHpMKvoi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWzemBAAoJEOKkKcqFPVVrtXkQALX6xZ11W9OtdHjPsJVWKMn5 HYgt4Hzcvzsj8bGxl1DbAblgKIHJLAYpWusuhU+9aQgWpEzBQ4r3HP3h+uSJYLQ3 dpi8H6QmsEaYG3Fzkor5v/SEYL3PtcgYjXp1VBx6U09xbIitAk48CrvXvUugYKJI dT0vy6qIf5bbhpDU/m8x8WLCJgzympjlj/CtKX7Cnrd/BV40sMd2Mn36Or3FxOQQ YfqN2MZcV54EiM/KXTxJ9/RsJfnNvZwfv0HepaswFynCeGpFZ1S9M6bCx7WtZ/Xi KldmjfGay7N0d8llN336aQ8P2wc/Kr/zNPCNxEnIsRrgxOHrZlhYDxBOtCO960IS /241+hJJcGP03DaQp/Yb7BiSIsSs4X62LEWn5cP0nfN2Kan5MoO8SKcv0jRMQnYC iChdU7fR4TjxtWBMilP95ArIw7BxFDMCmCkWhhImttAJwx8vJy4IycU8e4rUh+qr dpGVHnlCMSH+iLX1SPSwXo1Dm5NtTApgmZm1puZ/gv22++D3+PnzGWjDsRief+a8 ssygBJRXDRcenXTNvDoBefYV5sMTtrS6zHX98HfQ6oLDHuksWBpw6nnb7BnVn7F9 1r8AiJI8JvixCPSgVuEICFBWKwcprAVwEqJ5DgnLAGOzMA7eWhmLPkbtC93sLIE+ X+K14wKQnfkMrinpVqb6 =izLF -----END PGP SIGNATURE----- --D6O8T7oNtAp53q4xdFCXOVNnLTHpMKvoi--