Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74335 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47110 invoked from network); 18 May 2014 09:54:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2014 09:54:06 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 74.125.83.50 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 74.125.83.50 mail-ee0-f50.google.com Received: from [74.125.83.50] ([74.125.83.50:46567] helo=mail-ee0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/25-12623-C3388735 for ; Sun, 18 May 2014 05:54:05 -0400 Received: by mail-ee0-f50.google.com with SMTP id e51so2678087eek.23 for ; Sun, 18 May 2014 02:54:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Xkw2FAwrypQQsFjyB/lKvoqC6RQmLKRkxAHIXcymD20=; b=cup3+gVak3aqg1IR5KtLXEtmrzb/IPsYyVh7+BkwJC4/ahMjIMFQP1tF3Sbw+VZQCz wN9paB7PT424nBj2uXeng5NHRxJgAoh8dlKSp6wCBtj6XVOyMR21S6PRryUfRA3TC/Tg Gm1gfPwe1p7Ourz5D5f2x57zDWxqKoVZuAb8wlqSXQKEWbpUwFU9JsW6mGopHt1uXaPm wu2JURfphWH3JIEfb/N+JYMTgh0gNbxVfO5DtM8cYWrhmics84YxKWLlS5g2YFSLvivO f6Zr8psryyN5bDmbM0QSw9bMtX8DXeKyiiwUNMAzHkbpVO/libzjrq54uNh7ncHvY+4S /+wg== X-Gm-Message-State: ALoCoQkyaT0gEw+uVLzbENInw56B34lRcaAh/981bhbYE0EpyUri2ZSTy/WHGrgWxqdOn50ssUmk X-Received: by 10.15.51.193 with SMTP id n41mr929404eew.80.1400406841595; Sun, 18 May 2014 02:54:01 -0700 (PDT) Received: from [10.140.218.75] ([88.128.80.132]) by mx.google.com with ESMTPSA id 46sm1380571eeo.43.2014.05.18.02.53.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 18 May 2014 02:54:00 -0700 (PDT) Message-ID: <53788337.9090006@lerdorf.com> Date: Sun, 18 May 2014 11:53:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Nikita Popov , PHP internals References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Rethinking 64bit sizes and PHP-NG From: rasmus@lerdorf.com (Rasmus Lerdorf) On 05/17/2014 08:27 PM, Nikita Popov wrote: > So, that's my opinion on how we should proceed with the 64bit patch. I very > much hope that we can reach some consensus about this. Thanks for pulling this together Nikita. People have been asking me about this issue and this was exactly what I told them we would likely end up with as it is a sane and reasonable implementation of the two efforts. I would guess an rfc vote between the alternatives, as I see them, would favour this one by a wide margin. As for >4G strings, it does seem unlikely, on current hardware, that you would stick that much data in a variable. You might be able to get one in there, but if you then do anything with it, the tmp copy is going to make things fall over pretty quickly. But who knows in 4-5 years maybe having a TB of ram in servers will be the norm, IO channels have become much wider and we are manipulating 4K video files directly in PHP so perhaps you can make a future-proofing argument there. -Rasmus