On Wed, Jan 6, 2016 at 1:43 AM, Nikita Popov <nikita....@gmail.com> wrote: > On Tue, Jan 5, 2016 at 8:45 PM, Sara Golemon <poll...@php.net> wrote: >> Maybe TOKEN_ASSOC? Since it provides associative array elements (as >> opposed to the current indexed array behavior) > > I like that one. > Have updated the RFC accordingly. I've also renamed the 'token' field in the subarray to 'id' because everytime I write an example, I end up finding myself with expressions like token_name($token['token']) because it makes perfect sense to call your subarray $token (e.g. foreach(token_get_all(...) as $token)) so... too many tokens, amirite?
-Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php