Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69516 invoked from network); 22 Aug 2014 11:36:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2014 11:36:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:55462] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/1C-09530-B4B27F35 for ; Fri, 22 Aug 2014 07:36:45 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 2BD8415AE4D; Fri, 22 Aug 2014 12:36:40 +0100 (BST) Date: Fri, 22 Aug 2014 12:36:40 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Andrea Faulds cc: Laruence , PHP Internals In-Reply-To: <3DEE6234-C839-4B48-A5D3-F15558CC5DFC@ajf.me> Message-ID: References: <88F3B0AF-786C-43BA-AD39-3D8B77D13B2F@ajf.me> <3DEE6234-C839-4B48-A5D3-F15558CC5DFC@ajf.me> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-983977658-1408707401=:4107" Subject: Re: [PHP-DEV] [RFC] Integer Semantics From: derick@php.net (Derick Rethans) --8323329-983977658-1408707401=:4107 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 20 Aug 2014, Andrea Faulds wrote: >=20 > On 20 Aug 2014, at 03:53, Laruence wrote: >=20 > > On Wed, Aug 20, 2014 at 6:36 AM, Andrea Faulds wrote: > >> Good evening, > >>=20 > >> I have made an RFC which would make some small changes to how=20 > >> integers are handled, targeted at PHP 7: > >>=20 > >> https://wiki.php.net/rfc/integer_semantics > >=20 > > I'd like don't change the works behavior. make it act the similar=20 > > as C does. >=20 > For some of these things the behaviour is explicitly undefined in C,=20 > meaning it=E2=80=99s dangerous for us not to handle them specially, as=20 > undefined behaviour seems to give compilers an unlimited license to do=20 > absolutely anything at all. Although I think it is good to make it work the same on every platform,=20 I do think that changing it to *match* what the most used compiler (GCC)=20 on our most used platform (Linux/AMD64) is what the new behaviour should=20 be like =E2=80=94 not something that "looks best". I think that's what Laru= ence=20 was trying to say as well. It causes the least amount of BC breaks for our users. cheers, Derick --8323329-983977658-1408707401=:4107--