Re: Exposing object handles to userland

From: Date: Wed, 05 Jul 2017 20:22:31 +0000
Subject: Re: Exposing object handles to userland
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-99777@lists.php.net to get a copy of this message
Hi! > On 32-bit zend_long is a signed 32-bit int, so it can theoretically overflow, while sizeof is > same. Well, it's the same issue we having on representing any unsigned values, I guess. Since int<->uint in this case is one-to-one, should be ok to just use the negative nums, if they are used as IDs and not to calculate anything, etc. So I don't think it's much of a problem here. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#99777) next »