Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61544 invoked from network); 23 Jan 2014 17:15:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2014 17:15:50 -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 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:34099] helo=userp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/14-39789-44E41E25 for ; Thu, 23 Jan 2014 12:15:49 -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 s0NHFhGk021011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 Jan 2014 17:15:44 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0NHFgp4005284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 23 Jan 2014 17:15:43 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0NHFg2b019761 for ; Thu, 23 Jan 2014 17:15:42 GMT Received: from hubby.local (/50.184.131.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Jan 2014 09:15:41 -0800 Message-ID: <52E14E3C.9050705@oracle.com> Date: Thu, 23 Jan 2014 09:15:40 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <52E0F55F.4040802@lsces.co.uk> <52E13B66.4060502@lsces.co.uk> In-Reply-To: <52E13B66.4060502@lsces.co.uk> 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 platform improvements for string length and integer From: christopher.jones@oracle.com (Christopher Jones) On 1/23/14 7:55 AM, Lester Caine wrote: > Martin Keckeis wrote: >> If i look on the progress list, the most common used extensions are already ported? >> https://wiki.php.net/rfc/string-size_t/progress > > I'm still trying to clear up just where we are with handling 64bit values being returned for example from SQL queries. Currently these are returned as > numeric strings rather than integer for compatibility with 32bit systems. Having been - and on a few legacy sites - still working with 32bit windows, > I expect to see the same return from both 32 and 64bit systems, however it would seem that on a few extensions 'bugs have been fixed' where an integer > value is not returned as 64 bit. Certainly on the Firebird/Interbase driver I do not expect 'BIGINT' to be returned as an 'integer' on a 32bit system, > and it's this distinction that I'm not seeing documented ... for every extension? > You'll have to check the code of the extensions you are interested in to see what they do. 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