Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81726 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32461 invoked from network); 3 Feb 2015 16:22:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2015 16:22:08 -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.46 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 74.125.82.46 mail-wg0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:48960] helo=mail-wg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/43-20608-EA5F0D45 for ; Tue, 03 Feb 2015 11:22:07 -0500 Received: by mail-wg0-f46.google.com with SMTP id l2so45556295wgh.5 for ; Tue, 03 Feb 2015 08:22:03 -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; bh=OV+AQRlRa1yBrPBS7cn0rIrHfA/UvFOqB2SxiaZz2gU=; b=u0ztISu01sHkMcze0YMKXI52gJkGlfFq51fEhvxjWyMzAKLTlWgtqrFwFi7zxFeM2k 7Z2WaUjo2HfoQ7tEuOIIUoVkE2MZG0YH4Y0OaPnEmZ2M/wymLDpI8IwoVbVzf9vOeY96 bnwqlIu5SSpuTgnMTgTLUCIY9lIbimp3A3uaJJ0wiGsKoaaarXRDsYD8XUz2KUrWZi2L fvesBE1uIlQ5Y6wDj5ROTS2hSr90HsfOPYR5jH+BK5lSpd9qeKEABQ5qPxtMdcvOGHgc 9ks2ANmPDOjRWMz3lN6EvNRlOn5Mfuv7OvmkOdS5pm6I7hdhBSM5JYtukWfyQvvfhOX7 hw0A== MIME-Version: 1.0 X-Received: by 10.194.239.72 with SMTP id vq8mr46242101wjc.110.1422980523175; Tue, 03 Feb 2015 08:22:03 -0800 (PST) Received: by 10.216.50.139 with HTTP; Tue, 3 Feb 2015 08:22:03 -0800 (PST) In-Reply-To: <699DCF46-4DBC-4312-961F-31D36C078999@ajf.me> References: <1D8DC03D-0E2C-494C-9ED2-244334F57D8A@ajf.me> <6E8210CD-4BA3-4694-8482-4803F562D77C@ajf.me> <1BEEF374-D8BC-4FE2-8CE0-5EBB1AC4CF04@ajf.me> <3B265E0A-7479-456A-B134-5CA607C68EFF@ajf.me> <1470D29A-2D95-4E03-BEBC-CE1D9AD2FB16@ajf.me> <699DCF46-4DBC-4312-961F-31D36C078999@ajf.me> Date: Tue, 3 Feb 2015 16:22:03 +0000 Message-ID: To: Andrea Faulds Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Zero-fill right shift. From: leight@gmail.com (Leigh) On 3 February 2015 at 15:02, Andrea Faulds wrote: > > Why would it be promoted?! The high bit is the 63rd bit. It fits within a long. because On 3 February 2015 at 16:08, Andrea Faulds wrote: > > $ sapi/cli/php -r '$x = 1 << 63; debug_zval_dump($x);' > bigint(9223372036854775808) refcount(2)