Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71419 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80354 invoked from network); 23 Jan 2014 00:35:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2014 00:35:08 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 156.151.31.81 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 156.151.31.81 userp1040.oracle.com Received: from [156.151.31.81] ([156.151.31.81:51345] helo=userp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/0B-13626-AB360E25 for ; Wed, 22 Jan 2014 19:35:07 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s0N0Z2cO014173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Jan 2014 00:35:03 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0N0Z28K025405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 Jan 2014 00:35:02 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s0N0Z17M000894; Thu, 23 Jan 2014 00:35:01 GMT Received: from [130.35.70.190] (/130.35.70.190) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Jan 2014 16:35:01 -0800 Message-ID: <52E063B4.9000100@oracle.com> Date: Wed, 22 Jan 2014 16:35:00 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Anatol Belski , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] Subject: Re: [PHP-DEV] [RFC] 64 bit improvements, open questions From: christopher.jones@oracle.com (Christopher Jones) On 01/22/2014 12:20 AM, Anatol Belski wrote: > Hi, > > as the discussion phase for this RFC nears to the finish and the patch > itself is huge, I'd like to use the last chance to discuss the open > questions and concerns. Here are once more the links to the RFC (with > several updates) and the porting guide > > https://wiki.php.net/rfc/size_t_and_int64 > http://git.php.net/?p=php-src.git;a=blob;f=compat/PECL_PORTING;hb=refs/heads/str_size_and_int64 > > The big open question from the previous discussion is how to handle > changed ZPP formats. The way I've suggested in the porting doc is using > ternary operator like (COMP ? "l" : "i"). Another way were to put the old > ZPP formats "lLsp" back and make them redundant to the new ones "iISP". > Both ways have their pro and contra, the second variant isn't done, but > can be done quickly. With 22 lines of compatibility macros borrowed from compat/compat.h, I can make the "size_t_and_int64" branch of OCI8 compile with PHP 5.5. Making ZPP call changes to fix the formats would give a very much fuglier code base. There are 86 calls to ZPP in OCI8 (not all would need changing). 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