> On 3 Feb 2015, at 16:22, Leigh <lei...@gmail.com> wrote: > > On 3 February 2015 at 15:02, Andrea Faulds <a...@ajf.me> 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 <a...@ajf.me> wrote: >> >> $ sapi/cli/php -r '$x = 1 << 63; debug_zval_dump($x);' >> bigint(9223372036854775808) refcount(2)
Yeah, I see your point now, although I’d question *why* you need to mess with the high bit. You can still do ^ -1 or something as usual, though. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php