{"action":"created","issue":{"url":"https://api.github.com/repos/nikic/iter/issues/16","repository_url":"https://api.github.com/repos/nikic/iter","labels_url":"https://api.github.com/repos/nikic/iter/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/nikic/iter/issues/16/comments","events_url":"https://api.github.com/repos/nikic/iter/issues/16/events","html_url":"https://github.com/nikic/iter/pull/16","id":26573745,"number":16,"title":"Recursive cousins for toArray and toArrayWithKeys","user":{"login":"camspiers","id":51294,"avatar_url":"https://avatars.githubusercontent.com/u/51294?v=3","gravatar_id":"","url":"https://api.github.com/users/camspiers","html_url":"https://github.com/camspiers","followers_url":"https://api.github.com/users/camspiers/followers","following_url":"https://api.github.com/users/camspiers/following{/other_user}","gists_url":"https://api.github.com/users/camspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/camspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camspiers/subscriptions","organizations_url":"https://api.github.com/users/camspiers/orgs","repos_url":"https://api.github.com/users/camspiers/repos","events_url":"https://api.github.com/users/camspiers/events{/privacy}","received_events_url":"https://api.github.com/users/camspiers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2014-01-30T04:05:44Z","updated_at":"2016-09-27T14:06:41Z","closed_at":"2016-09-27T14:06:41Z","pull_request":{"url":"https://api.github.com/repos/nikic/iter/pulls/16","html_url":"https://github.com/nikic/iter/pull/16","diff_url":"https://github.com/nikic/iter/pull/16.diff","patch_url":"https://github.com/nikic/iter/pull/16.patch"},"body":" Recursively converts iterables into arrays, without preserving keys.\r\n\r\n Each traversable value that is encountered turned into an array recursively\r\n\r\n Examples:\r\n\r\n      iter\\toArrayRecursive(new \\ArrayIterator([new \\ArrayIterator([1, 2, 3]), 2, 3]))\r\n      => [[1, 2, 3], 2, 3]\r\n\r\n Recursively converts iterables into arrays preserving their keys.\r\n\r\n Each traversable value that is encountered turned into an array recursively\r\n\r\n Examples:\r\n\r\n      iter\\toArrayRecursiveWithKeys(\r\n          new \\ArrayIterator(['a' => new \\ArrayIterator(['a' => 1, 'b' => 2, 'c' => 3]), 'c' => 2, 'c' => 3])\r\n      )\r\n      => ['a' => ['a' => 1,'b' => 2, 'c' => 3], 'b' => 2, 'c' => 3]"},"comment":{"url":"https://api.github.com/repos/nikic/iter/issues/comments/249875200","html_url":"https://github.com/nikic/iter/pull/16#issuecomment-249875200","issue_url":"https://api.github.com/repos/nikic/iter/issues/16","id":249875200,"user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T14:06:41Z","updated_at":"2016-09-27T14:06:41Z","body":"recurse() added in https://github.com/nikic/iter/commit/e60197984f16ab96d976330a0291e90740fa185c, so something like `iter\\recursive('iter\\toArray', $foo)` will now work."}}
{"actor":{"display_login":"nikic"}}