> On 02 02 2015, at 09:01, Sara Golemon <p...@golemon.com> wrote:
> 
> 
> 
>> 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).

Yes, I definitely use that a lot and cannot see why this should be 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.


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to