Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74173 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70230 invoked from network); 14 May 2014 08:58:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 May 2014 08:58:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:40599] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/16-40033-91033735 for ; Wed, 14 May 2014 04:58:02 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 75CEE200086; Wed, 14 May 2014 04:57:58 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.registrar-servers.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3TOMXQwrPQ8X; Wed, 14 May 2014 04:57:58 -0400 (EDT) Received: from [192.168.0.200] (unknown [90.203.28.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 6D814200081; Wed, 14 May 2014 04:57:55 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_9727DC88-B2AD-4AA4-B9E3-123692E4E4BC" Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) In-Reply-To: Date: Wed, 14 May 2014 09:57:52 +0100 Cc: Lester Caine , PHP internals Message-ID: References: <53732673.3080106@lsces.co.uk> To: Dmitry Stogov X-Mailer: Apple Mail (2.1874) Subject: Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer From: ajf@ajf.me (Andrea Faulds) --Apple-Mail=_9727DC88-B2AD-4AA4-B9E3-123692E4E4BC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 14 May 2014, at 09:53, Dmitry Stogov wrote: > PHP supports 64bit for ages, and this proposal has nothing common with > 64bit support in general. > It allows 2GB strings, but do you imagine a web application that need = them? > However, each big PHP site will have to "pay" for it. FWIW, it does concern general 64-bit support. It makes PHP act = consistently across all 64-bit platforms.=20 Also, switching to size_t for string length does not just mean =912GB = strings=92. It means using the right tool for the job. Even the C = standard library uses size_t for string length! -- Andrea Faulds http://ajf.me/ --Apple-Mail=_9727DC88-B2AD-4AA4-B9E3-123692E4E4BC--