{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/rwillians/stingray/pulls/1","id":64631254,"html_url":"https://github.com/rwillians/stingray/pull/1","diff_url":"https://github.com/rwillians/stingray/pull/1.diff","patch_url":"https://github.com/rwillians/stingray/pull/1.patch","issue_url":"https://api.github.com/repos/rwillians/stingray/issues/1","number":1,"state":"open","locked":false,"title":"Fix case then doted index is longer than array","user":{"login":"ant-hill","id":3014504,"avatar_url":"https://avatars.githubusercontent.com/u/3014504?v=3","gravatar_id":"","url":"https://api.github.com/users/ant-hill","html_url":"https://github.com/ant-hill","followers_url":"https://api.github.com/users/ant-hill/followers","following_url":"https://api.github.com/users/ant-hill/following{/other_user}","gists_url":"https://api.github.com/users/ant-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-hill/subscriptions","organizations_url":"https://api.github.com/users/ant-hill/orgs","repos_url":"https://api.github.com/users/ant-hill/repos","events_url":"https://api.github.com/users/ant-hill/events{/privacy}","received_events_url":"https://api.github.com/users/ant-hill/received_events","type":"User","site_admin":false},"body":"Hi i would be happy if you accept my pull request, this pull request for situation then you try get doted index longer then you have,\r\nex:\r\n```php\r\n$array = [\r\n            'a' => [\r\n                'b' => [\r\n                    'c' => [\r\n                        'd' => 'e'\r\n                    ]\r\n                ]\r\n            ]\r\n        ];\r\nStingray::get($arr,'a.b.c.d.e.f.g');\r\n```\r\nWith old behavior we get: \r\narray_key_exists() expects parameter 2 to be array, string given","created_at":"2016-03-30T13:56:18Z","updated_at":"2016-03-30T13:56:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rwillians/stingray/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rwillians/stingray/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rwillians/stingray/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rwillians/stingray/issues/1/comments","statuses_url":"https://api.github.com/repos/rwillians/stingray/statuses/8e8766d0ca6832c2d2cbae2f90d8d762430dbacd","head":{"label":"ant-hill:v2","ref":"v2","sha":"8e8766d0ca6832c2d2cbae2f90d8d762430dbacd","user":{"login":"ant-hill","id":3014504,"avatar_url":"https://avatars.githubusercontent.com/u/3014504?v=3","gravatar_id":"","url":"https://api.github.com/users/ant-hill","html_url":"https://github.com/ant-hill","followers_url":"https://api.github.com/users/ant-hill/followers","following_url":"https://api.github.com/users/ant-hill/following{/other_user}","gists_url":"https://api.github.com/users/ant-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-hill/subscriptions","organizations_url":"https://api.github.com/users/ant-hill/orgs","repos_url":"https://api.github.com/users/ant-hill/repos","events_url":"https://api.github.com/users/ant-hill/events{/privacy}","received_events_url":"https://api.github.com/users/ant-hill/received_events","type":"User","site_admin":false},"repo":{"id":55059489,"name":"stingray","full_name":"ant-hill/stingray","owner":{"login":"ant-hill","id":3014504,"avatar_url":"https://avatars.githubusercontent.com/u/3014504?v=3","gravatar_id":"","url":"https://api.github.com/users/ant-hill","html_url":"https://github.com/ant-hill","followers_url":"https://api.github.com/users/ant-hill/followers","following_url":"https://api.github.com/users/ant-hill/following{/other_user}","gists_url":"https://api.github.com/users/ant-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-hill/subscriptions","organizations_url":"https://api.github.com/users/ant-hill/orgs","repos_url":"https://api.github.com/users/ant-hill/repos","events_url":"https://api.github.com/users/ant-hill/events{/privacy}","received_events_url":"https://api.github.com/users/ant-hill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ant-hill/stingray","description":"Dot notation reader/writer for multidimensional arrays in PHP.","fork":true,"url":"https://api.github.com/repos/ant-hill/stingray","forks_url":"https://api.github.com/repos/ant-hill/stingray/forks","keys_url":"https://api.github.com/repos/ant-hill/stingray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ant-hill/stingray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ant-hill/stingray/teams","hooks_url":"https://api.github.com/repos/ant-hill/stingray/hooks","issue_events_url":"https://api.github.com/repos/ant-hill/stingray/issues/events{/number}","events_url":"https://api.github.com/repos/ant-hill/stingray/events","assignees_url":"https://api.github.com/repos/ant-hill/stingray/assignees{/user}","branches_url":"https://api.github.com/repos/ant-hill/stingray/branches{/branch}","tags_url":"https://api.github.com/repos/ant-hill/stingray/tags","blobs_url":"https://api.github.com/repos/ant-hill/stingray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ant-hill/stingray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ant-hill/stingray/git/refs{/sha}","trees_url":"https://api.github.com/repos/ant-hill/stingray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ant-hill/stingray/statuses/{sha}","languages_url":"https://api.github.com/repos/ant-hill/stingray/languages","stargazers_url":"https://api.github.com/repos/ant-hill/stingray/stargazers","contributors_url":"https://api.github.com/repos/ant-hill/stingray/contributors","subscribers_url":"https://api.github.com/repos/ant-hill/stingray/subscribers","subscription_url":"https://api.github.com/repos/ant-hill/stingray/subscription","commits_url":"https://api.github.com/repos/ant-hill/stingray/commits{/sha}","git_commits_url":"https://api.github.com/repos/ant-hill/stingray/git/commits{/sha}","comments_url":"https://api.github.com/repos/ant-hill/stingray/comments{/number}","issue_comment_url":"https://api.github.com/repos/ant-hill/stingray/issues/comments{/number}","contents_url":"https://api.github.com/repos/ant-hill/stingray/contents/{+path}","compare_url":"https://api.github.com/repos/ant-hill/stingray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ant-hill/stingray/merges","archive_url":"https://api.github.com/repos/ant-hill/stingray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ant-hill/stingray/downloads","issues_url":"https://api.github.com/repos/ant-hill/stingray/issues{/number}","pulls_url":"https://api.github.com/repos/ant-hill/stingray/pulls{/number}","milestones_url":"https://api.github.com/repos/ant-hill/stingray/milestones{/number}","notifications_url":"https://api.github.com/repos/ant-hill/stingray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ant-hill/stingray/labels{/name}","releases_url":"https://api.github.com/repos/ant-hill/stingray/releases{/id}","deployments_url":"https://api.github.com/repos/ant-hill/stingray/deployments","created_at":"2016-03-30T12:02:44Z","updated_at":"2016-03-30T12:02:45Z","pushed_at":"2016-03-30T13:49:48Z","git_url":"git://github.com/ant-hill/stingray.git","ssh_url":"git@github.com:ant-hill/stingray.git","clone_url":"https://github.com/ant-hill/stingray.git","svn_url":"https://github.com/ant-hill/stingray","homepage":"","size":22,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"v2"}},"base":{"label":"rwillians:v2","ref":"v2","sha":"11776697abff68e593e41ebd8c7aba7258c7a5db","user":{"login":"rwillians","id":5093551,"avatar_url":"https://avatars.githubusercontent.com/u/5093551?v=3","gravatar_id":"","url":"https://api.github.com/users/rwillians","html_url":"https://github.com/rwillians","followers_url":"https://api.github.com/users/rwillians/followers","following_url":"https://api.github.com/users/rwillians/following{/other_user}","gists_url":"https://api.github.com/users/rwillians/gists{/gist_id}","starred_url":"https://api.github.com/users/rwillians/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwillians/subscriptions","organizations_url":"https://api.github.com/users/rwillians/orgs","repos_url":"https://api.github.com/users/rwillians/repos","events_url":"https://api.github.com/users/rwillians/events{/privacy}","received_events_url":"https://api.github.com/users/rwillians/received_events","type":"User","site_admin":false},"repo":{"id":37344356,"name":"stingray","full_name":"rwillians/stingray","owner":{"login":"rwillians","id":5093551,"avatar_url":"https://avatars.githubusercontent.com/u/5093551?v=3","gravatar_id":"","url":"https://api.github.com/users/rwillians","html_url":"https://github.com/rwillians","followers_url":"https://api.github.com/users/rwillians/followers","following_url":"https://api.github.com/users/rwillians/following{/other_user}","gists_url":"https://api.github.com/users/rwillians/gists{/gist_id}","starred_url":"https://api.github.com/users/rwillians/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwillians/subscriptions","organizations_url":"https://api.github.com/users/rwillians/orgs","repos_url":"https://api.github.com/users/rwillians/repos","events_url":"https://api.github.com/users/rwillians/events{/privacy}","received_events_url":"https://api.github.com/users/rwillians/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwillians/stingray","description":"Dot notation reader/writer for multidimensional arrays in PHP.","fork":true,"url":"https://api.github.com/repos/rwillians/stingray","forks_url":"https://api.github.com/repos/rwillians/stingray/forks","keys_url":"https://api.github.com/repos/rwillians/stingray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwillians/stingray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwillians/stingray/teams","hooks_url":"https://api.github.com/repos/rwillians/stingray/hooks","issue_events_url":"https://api.github.com/repos/rwillians/stingray/issues/events{/number}","events_url":"https://api.github.com/repos/rwillians/stingray/events","assignees_url":"https://api.github.com/repos/rwillians/stingray/assignees{/user}","branches_url":"https://api.github.com/repos/rwillians/stingray/branches{/branch}","tags_url":"https://api.github.com/repos/rwillians/stingray/tags","blobs_url":"https://api.github.com/repos/rwillians/stingray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwillians/stingray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwillians/stingray/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwillians/stingray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwillians/stingray/statuses/{sha}","languages_url":"https://api.github.com/repos/rwillians/stingray/languages","stargazers_url":"https://api.github.com/repos/rwillians/stingray/stargazers","contributors_url":"https://api.github.com/repos/rwillians/stingray/contributors","subscribers_url":"https://api.github.com/repos/rwillians/stingray/subscribers","subscription_url":"https://api.github.com/repos/rwillians/stingray/subscription","commits_url":"https://api.github.com/repos/rwillians/stingray/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwillians/stingray/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwillians/stingray/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwillians/stingray/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwillians/stingray/contents/{+path}","compare_url":"https://api.github.com/repos/rwillians/stingray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwillians/stingray/merges","archive_url":"https://api.github.com/repos/rwillians/stingray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwillians/stingray/downloads","issues_url":"https://api.github.com/repos/rwillians/stingray/issues{/number}","pulls_url":"https://api.github.com/repos/rwillians/stingray/pulls{/number}","milestones_url":"https://api.github.com/repos/rwillians/stingray/milestones{/number}","notifications_url":"https://api.github.com/repos/rwillians/stingray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwillians/stingray/labels{/name}","releases_url":"https://api.github.com/repos/rwillians/stingray/releases{/id}","deployments_url":"https://api.github.com/repos/rwillians/stingray/deployments","created_at":"2015-06-12T20:59:45Z","updated_at":"2016-03-24T12:27:23Z","pushed_at":"2015-11-11T21:10:49Z","git_url":"git://github.com/rwillians/stingray.git","ssh_url":"git@github.com:rwillians/stingray.git","clone_url":"https://github.com/rwillians/stingray.git","svn_url":"https://github.com/rwillians/stingray","homepage":"","size":130,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"v2"}},"_links":{"self":{"href":"https://api.github.com/repos/rwillians/stingray/pulls/1"},"html":{"href":"https://github.com/rwillians/stingray/pull/1"},"issue":{"href":"https://api.github.com/repos/rwillians/stingray/issues/1"},"comments":{"href":"https://api.github.com/repos/rwillians/stingray/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rwillians/stingray/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rwillians/stingray/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rwillians/stingray/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rwillians/stingray/statuses/8e8766d0ca6832c2d2cbae2f90d8d762430dbacd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":66,"deletions":6,"changed_files":2}}