> On 2 Feb 2015, at 06:43, Xinchen Hui <larue...@php.net> wrote: > furthermore, I'd like to discuss remove the handle in zend_resource struct.. > > it may breaks some usage (use resource as long/double/string
I've seen uses in the wild where file handles are used as array keys (yes, I know, ugly and wrong). If we were to remove rsrc handle, we should formally deprecate it for at least one minor revision first. I'm all for killing it, and I fully support improving the internal API, but the gentler we are with BC breaks, the better. -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php