Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13245 invoked from network); 3 Feb 2015 14:43:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2015 14:43:47 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:36488] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/5F-20608-3AED0D45 for ; Tue, 03 Feb 2015 09:43:47 -0500 Received: by mail-wg0-f50.google.com with SMTP id b13so44836611wgh.9 for ; Tue, 03 Feb 2015 06:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=5aN7UJOFnZpfpyw6twbKobfXQSnig6tvOMq2pFHQFSI=; b=LJAanyZAF5+DNgL2KgBQ7fSM8EMkKD6OOd3PCZGS6mEOhD3DFDrgX5iM3Tu/wmL116 b48VlDI0AUPs6NRWglqoAqer/9W2zBSbg74k2F04oxXZueN9OVyRok26NgBHOGubc1ZY KzNSFLM52F9H/676AHAz/Dru2c1oaRoEscAvG/c0WqlujntNKk61Dk8o27sZ0RbzBO68 swZNM40oWEaOhBTF4Rre6WkZ5e/iZd/Eiz4kejFj/TZAShP9lxMLEt5JHXWOkW7Ft+uK 8GmCgZB8T7ci0ZDLM4UboxBjUV+BIbuX7EnHvhPnljLISKbSr7cW5M2Rre5FnsD7Fxgx ZzIA== MIME-Version: 1.0 X-Received: by 10.194.236.200 with SMTP id uw8mr56018036wjc.10.1422974623999; Tue, 03 Feb 2015 06:43:43 -0800 (PST) Received: by 10.216.50.139 with HTTP; Tue, 3 Feb 2015 06:43:43 -0800 (PST) In-Reply-To: <1BEEF374-D8BC-4FE2-8CE0-5EBB1AC4CF04@ajf.me> References: <1D8DC03D-0E2C-494C-9ED2-244334F57D8A@ajf.me> <6E8210CD-4BA3-4694-8482-4803F562D77C@ajf.me> <1BEEF374-D8BC-4FE2-8CE0-5EBB1AC4CF04@ajf.me> Date: Tue, 3 Feb 2015 14:43:43 +0000 Message-ID: To: Andrea Faulds Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Zero-fill right shift. From: leight@gmail.com (Leigh) On 3 February 2015 at 14:36, Andrea Faulds wrote: > I don=E2=80=99t know where you got that idea. The binary ops are consiste= nt - they aren=E2=80=99t constrained by register size like in previous PHP = versions, but they=E2=80=99re still completely consistent. > php -r 'var_dump(1 << 65);' int(2) Rotate left gets broken. > It=E2=80=99s slower, yes, but that hardly matters. If people care so much= about performance, why use PHP? > If people didn't care about performance, we wouldn't have phpng, or any of the other work people have done to make the engine faster. Sometimes you have to make the most of what you have available.