Re: [RFC] Array unpacking with string keys

From: Date: Fri, 08 Jan 2021 02:59:53 +0000
Subject: Re: [RFC] Array unpacking with string keys
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-112809@lists.php.net to get a copy of this message
Hi Nikita, > I'd like to propose that string keys be allowed when unpacking into arrays: > https://wiki.php.net/rfc/array_unpacking_string_keys > > Especially as unpacking in calls supports string keys now, I believe it is > time to drop this limitation for arrays as well. +1, was considering proposing the same array_merge semantics as this RFC but didn't get around to looking into why this wasn't in the original php 7..4 array unpacking RFC. Regards, Tyson

« previous php.internals (#112809) next »