{"action":"closed","number":152,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/152","id":52887005,"html_url":"https://github.com/mongodb/mongo-php-driver/pull/152","diff_url":"https://github.com/mongodb/mongo-php-driver/pull/152.diff","patch_url":"https://github.com/mongodb/mongo-php-driver/pull/152.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/152","number":152,"state":"closed","locked":false,"title":"Fixed issue #149: bson_init_static(): precondition failed: data","user":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?v=3","gravatar_id":"","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"body":"https://jira.mongodb.org/browse/PHPC-502\r\n\r\n```\r\n<?php                                                                                \r\n$opts = array (                                                                      \r\n  'allowPartialResults' => false,                                                    \r\n  'batchSize' => 101,                                                                \r\n  'comment' => '',                                                                   \r\n  'cursorType' => 0,                                                                 \r\n  'limit' => 1,                                                                      \r\n  'maxTimeMS' => 0,                                                                  \r\n  'modifiers' =>                                                                     \r\n  array (                                                                            \r\n  ),                                                                                 \r\n  'noCursorTimeout' => false,                                                        \r\n  'oplogReplay' => false,                                                            \r\n  'projection' =>                                                                    \r\n  array (                                                                            \r\n  ),                                                                                 \r\n  'skip' => 0,                                                                       \r\n  'sort' =>                                                                          \r\n  array (                                                                            \r\n  ),                                                                                 \r\n  'cursorFlags' => 0,                                                                \r\n);                                                                                   \r\n                                                                                     \r\n$m = new MongoDB\\Driver\\Manager(\"mongodb://localhost:27017\");                        \r\n$q = new MongoDB\\Driver\\Query(array(), $opts);                                       \r\n                                                                                     \r\n$m->executeQuery(\"dbname.collname\", $q);          \r\necho \"I'm alive\\n\";\r\n```","created_at":"2015-12-07T19:12:04Z","updated_at":"2015-12-10T11:17:26Z","closed_at":"2015-12-10T11:17:26Z","merged_at":null,"merge_commit_sha":"073ec98466d99cbb7e451ff2ee12a28fbfd8d1ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/152/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/152/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/152/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-php-driver/statuses/f312ab7f301dec5a3a67e2f2ff1a524c90d04fe6","head":{"label":"bjori:master","ref":"master","sha":"f312ab7f301dec5a3a67e2f2ff1a524c90d04fe6","user":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?v=3","gravatar_id":"","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"repo":{"id":27934502,"name":"mongo-php-driver-prototype","full_name":"bjori/mongo-php-driver-prototype","owner":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?v=3","gravatar_id":"","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjori/mongo-php-driver-prototype","description":"PHP MongoDB - PHongo - new MongoDB driver for PHP","fork":true,"url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype","forks_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/forks","keys_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/teams","hooks_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/hooks","issue_events_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/issues/events{/number}","events_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/events","assignees_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/assignees{/user}","branches_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/branches{/branch}","tags_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/tags","blobs_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/languages","stargazers_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/stargazers","contributors_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/contributors","subscribers_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/subscribers","subscription_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/subscription","commits_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/contents/{+path}","compare_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/merges","archive_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/downloads","issues_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/issues{/number}","pulls_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/labels{/name}","releases_url":"https://api.github.com/repos/bjori/mongo-php-driver-prototype/releases{/id}","created_at":"2014-12-12T19:17:59Z","updated_at":"2015-11-04T22:08:18Z","pushed_at":"2015-12-07T19:10:48Z","git_url":"git://github.com/bjori/mongo-php-driver-prototype.git","ssh_url":"git@github.com:bjori/mongo-php-driver-prototype.git","clone_url":"https://github.com/bjori/mongo-php-driver-prototype.git","svn_url":"https://github.com/bjori/mongo-php-driver-prototype","homepage":null,"size":2662,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"8a21ca245168fb7866c1801b47faa5bdd97f3253","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":19514152,"name":"mongo-php-driver","full_name":"mongodb/mongo-php-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-php-driver","description":"MongoDB PHP driver","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-php-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-php-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-php-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-php-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-php-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-php-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-php-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-php-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-php-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-php-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-php-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-php-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-php-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-php-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-php-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-php-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-php-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-php-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-php-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-php-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-php-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-php-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-php-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-php-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-php-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-php-driver/releases{/id}","created_at":"2014-05-06T23:18:32Z","updated_at":"2015-12-10T09:58:27Z","pushed_at":"2015-12-10T11:16:55Z","git_url":"git://github.com/mongodb/mongo-php-driver.git","ssh_url":"git@github.com:mongodb/mongo-php-driver.git","clone_url":"https://github.com/mongodb/mongo-php-driver.git","svn_url":"https://github.com/mongodb/mongo-php-driver","homepage":"https://pecl.php.net/package/mongodb","size":3143,"stargazers_count":74,"watchers_count":74,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":30,"mirror_url":null,"open_issues_count":9,"forks":30,"open_issues":9,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/152"},"html":{"href":"https://github.com/mongodb/mongo-php-driver/pull/152"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/152"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/statuses/f312ab7f301dec5a3a67e2f2ff1a524c90d04fe6"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":5,"commits":1,"additions":17,"deletions":9,"changed_files":1}}