Re: [RFC] Convert numeric keys in object/array casts

From: Date: Sun, 23 Oct 2016 23:47:22 +0000
Subject: Re: [RFC] Convert numeric keys in object/array casts
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-96567@lists.php.net to get a copy of this message
Hi! > To try and fix a longstanding issue, and to actually bring some > attention to the fix, I've created a new RFC, which can be found here: > > > https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts How common is this problem? It looks like an edge case of an edge case (converting objects to arrays as such is not a very frequent operation, and the reverse is even less frequent) but adds performance hit on the common case. > I'm also not sure if this really ought to be an RFC, but I've received > little feedback so far, so it can't hurt. This is a behavior change and a performance hit, so definitely yes, it should be RFC. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#96567) next »