Re: Exposing object handles to userland
| From: | Stanislav Malyshev | Date: | Wed, 05 Jul 2017 03:27:51 +0000 |
| Subject: | Re: Exposing object handles to userland | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99752@lists.php.net to get a copy of this message | ||
Hi!
> - Can two objects can have the same object id
> but different object handlers?
> (e.g. iterators of some built in classes?)
> I'm not familiar enough with PHP's history to be sure.
Yes, if extension using non-standard handlers is in use.
> - Can the the largest object handle be larger
> than the size of
zend_long in 32-bit systems?
Handle is uint32_t, so probably no.
--
Stas Malyshev
smalyshev@gmail.com