Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76758 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82427 invoked from network); 21 Aug 2014 17:48:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2014 17:48:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 141.146.126.69 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.69 aserp1040.oracle.com Received: from [141.146.126.69] ([141.146.126.69:17486] helo=aserp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/53-64991-5F036F35 for ; Thu, 21 Aug 2014 13:48:38 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s7LHmYrf006679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Aug 2014 17:48:35 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7LHmX7a025691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 21 Aug 2014 17:48:34 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7LHmX6l011451 for ; Thu, 21 Aug 2014 17:48:33 GMT Received: from [144.25.174.186] (/144.25.174.186) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Aug 2014 10:48:32 -0700 Message-ID: <53F630F0.80204@oracle.com> Date: Thu, 21 Aug 2014 10:48:32 -0700 Organization: Oracle Corporation User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet21.oracle.com [141.146.126.237] Subject: Re: [PHP-DEV] 64-bit integers and 64-bit string length patch is ready to be merged From: christopher.jones@oracle.com (christopher jones) On 8/21/14, 10:23 AM, Dmitry Stogov wrote: > Hi, > > Thanks to Anatol and Pierre the 64-bit patch is ready > https://github.com/weltling/php-src > > I made quick code review and don't see any technical problems now. > > The performance and memory consumption difference is negligible. see > https://docs.google.com/spreadsheets/d/1PD4oiiXz6B0JbeZYnUSat5fHoq3_jAiCeI2cGHJ3UtQ/edit#gid=0 > > The patch breaks one test on 32-bit Linux: > ext/date/tests/bug53437_var3.phpt (seems to be a bogus test and wrong > behavior in php5.6 and below) and one test on 64-bit Linux: > ext/standard/tests/array/array_pad_variation2.phpt (has to be analyzed) > > The only thing that I don't like is a massive renaming described here > https://wiki.php.net/rfc/size_t_and_int64_next#semantical_macro_renamings > > IS_LONG -> IS_INT > Z_LVAL -> L_IVAL > etc > > On one hand using INT may be more consistent, on the other hand it's going > to break habits and make addition headache for merging from php-5 (I know, > phpng already made problems) > > I'm not sure how to proceed. If I'm alone, lets go ahead with new names. If > some others prefer old names we will probably need voting. > > Despite of renaming, I would like to see this patch in master ASAP. > > Thanks. Dmitry. > We have the code ready to go. The change was voted OK. I say merge it. Chris -- christopher.jones@oracle.com http://twitter.com/ghrd Free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html