Re: Re: [DICUSS]Cleanup resource handling APIs

From: Date: Mon, 02 Feb 2015 08:05:44 +0000
Subject: Re: Re: [DICUSS]Cleanup resource handling APIs
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-81560@lists.php.net to get a copy of this message
Hey Sara: On Mon, Feb 2, 2015 at 4:01 PM, Sara Golemon <php@golemon.com> wrote: > > >> On 2 Feb 2015, at 06:43, Xinchen Hui <laruence@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. I agree, as I said, removing it is the step 2 actions we may discuss it later.. thanks > > -Sara -- Xinchen Hui @Laruence http://www.laruence.com/

« previous php.internals (#81560) next »