{"action":"opened","number":181,"pull_request":{"url":"https://api.github.com/repos/pdezwart/php-amqp/pulls/181","id":47161104,"html_url":"https://github.com/pdezwart/php-amqp/pull/181","diff_url":"https://github.com/pdezwart/php-amqp/pull/181.diff","patch_url":"https://github.com/pdezwart/php-amqp/pull/181.patch","issue_url":"https://api.github.com/repos/pdezwart/php-amqp/issues/181","number":181,"state":"open","locked":false,"title":"[WIP] Refactor and add PHP 7 support (with BC)","user":{"login":"pinepain","id":2185793,"avatar_url":"https://avatars.githubusercontent.com/u/2185793?v=3","gravatar_id":"","url":"https://api.github.com/users/pinepain","html_url":"https://github.com/pinepain","followers_url":"https://api.github.com/users/pinepain/followers","following_url":"https://api.github.com/users/pinepain/following{/other_user}","gists_url":"https://api.github.com/users/pinepain/gists{/gist_id}","starred_url":"https://api.github.com/users/pinepain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinepain/subscriptions","organizations_url":"https://api.github.com/users/pinepain/orgs","repos_url":"https://api.github.com/users/pinepain/repos","events_url":"https://api.github.com/users/pinepain/events{/privacy}","received_events_url":"https://api.github.com/users/pinepain/received_events","type":"User","site_admin":false},"body":"Introduced changes:\r\n - add PHP7 support.\r\n - add `AMQPEnvelope::hasHeader()`, `AMQPExchange::hasArgument()` and `AMQPQueue::hasArgument()` to check whether specific header exists.\r\n - completely move to `zend object` custom objects (`AMQPEnvelope`, `AMQPExchange` and `AMQPQueue`).\r\n - use zend object for properties storing for for custom objects ( `AMQPConnection` and `AMQPChannel`).\r\n - fix not properly deleted connection resource.\r\n - fix not properly allocated and freed `amqp_table_t` arguments table memory.\r\n \r\nThis PR doesn't introduce BC-breaking changes but introduce few new methods.\r\n\r\nThis PR changes shouldn't have any significant performance impact.\r\n","created_at":"2015-10-08T14:38:57Z","updated_at":"2015-10-08T14:38:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pdezwart/php-amqp/pulls/181/commits","review_comments_url":"https://api.github.com/repos/pdezwart/php-amqp/pulls/181/comments","review_comment_url":"https://api.github.com/repos/pdezwart/php-amqp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pdezwart/php-amqp/issues/181/comments","statuses_url":"https://api.github.com/repos/pdezwart/php-amqp/statuses/cdfb39cce0d0bc0d33bba93b106ac214b4309362","head":{"label":"pinepain:refactor_and_php7_with_bc","ref":"refactor_and_php7_with_bc","sha":"cdfb39cce0d0bc0d33bba93b106ac214b4309362","user":{"login":"pinepain","id":2185793,"avatar_url":"https://avatars.githubusercontent.com/u/2185793?v=3","gravatar_id":"","url":"https://api.github.com/users/pinepain","html_url":"https://github.com/pinepain","followers_url":"https://api.github.com/users/pinepain/followers","following_url":"https://api.github.com/users/pinepain/following{/other_user}","gists_url":"https://api.github.com/users/pinepain/gists{/gist_id}","starred_url":"https://api.github.com/users/pinepain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinepain/subscriptions","organizations_url":"https://api.github.com/users/pinepain/orgs","repos_url":"https://api.github.com/users/pinepain/repos","events_url":"https://api.github.com/users/pinepain/events{/privacy}","received_events_url":"https://api.github.com/users/pinepain/received_events","type":"User","site_admin":false},"repo":{"id":7439706,"name":"php-amqp","full_name":"pinepain/php-amqp","owner":{"login":"pinepain","id":2185793,"avatar_url":"https://avatars.githubusercontent.com/u/2185793?v=3","gravatar_id":"","url":"https://api.github.com/users/pinepain","html_url":"https://github.com/pinepain","followers_url":"https://api.github.com/users/pinepain/followers","following_url":"https://api.github.com/users/pinepain/following{/other_user}","gists_url":"https://api.github.com/users/pinepain/gists{/gist_id}","starred_url":"https://api.github.com/users/pinepain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinepain/subscriptions","organizations_url":"https://api.github.com/users/pinepain/orgs","repos_url":"https://api.github.com/users/pinepain/repos","events_url":"https://api.github.com/users/pinepain/events{/privacy}","received_events_url":"https://api.github.com/users/pinepain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pinepain/php-amqp","description":"PHP AMQP Binding Library","fork":true,"url":"https://api.github.com/repos/pinepain/php-amqp","forks_url":"https://api.github.com/repos/pinepain/php-amqp/forks","keys_url":"https://api.github.com/repos/pinepain/php-amqp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pinepain/php-amqp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pinepain/php-amqp/teams","hooks_url":"https://api.github.com/repos/pinepain/php-amqp/hooks","issue_events_url":"https://api.github.com/repos/pinepain/php-amqp/issues/events{/number}","events_url":"https://api.github.com/repos/pinepain/php-amqp/events","assignees_url":"https://api.github.com/repos/pinepain/php-amqp/assignees{/user}","branches_url":"https://api.github.com/repos/pinepain/php-amqp/branches{/branch}","tags_url":"https://api.github.com/repos/pinepain/php-amqp/tags","blobs_url":"https://api.github.com/repos/pinepain/php-amqp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pinepain/php-amqp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pinepain/php-amqp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pinepain/php-amqp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pinepain/php-amqp/statuses/{sha}","languages_url":"https://api.github.com/repos/pinepain/php-amqp/languages","stargazers_url":"https://api.github.com/repos/pinepain/php-amqp/stargazers","contributors_url":"https://api.github.com/repos/pinepain/php-amqp/contributors","subscribers_url":"https://api.github.com/repos/pinepain/php-amqp/subscribers","subscription_url":"https://api.github.com/repos/pinepain/php-amqp/subscription","commits_url":"https://api.github.com/repos/pinepain/php-amqp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pinepain/php-amqp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pinepain/php-amqp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pinepain/php-amqp/issues/comments{/number}","contents_url":"https://api.github.com/repos/pinepain/php-amqp/contents/{+path}","compare_url":"https://api.github.com/repos/pinepain/php-amqp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pinepain/php-amqp/merges","archive_url":"https://api.github.com/repos/pinepain/php-amqp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pinepain/php-amqp/downloads","issues_url":"https://api.github.com/repos/pinepain/php-amqp/issues{/number}","pulls_url":"https://api.github.com/repos/pinepain/php-amqp/pulls{/number}","milestones_url":"https://api.github.com/repos/pinepain/php-amqp/milestones{/number}","notifications_url":"https://api.github.com/repos/pinepain/php-amqp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pinepain/php-amqp/labels{/name}","releases_url":"https://api.github.com/repos/pinepain/php-amqp/releases{/id}","created_at":"2013-01-04T12:07:31Z","updated_at":"2015-04-23T19:51:36Z","pushed_at":"2015-10-08T14:29:36Z","git_url":"git://github.com/pinepain/php-amqp.git","ssh_url":"git@github.com:pinepain/php-amqp.git","clone_url":"https://github.com/pinepain/php-amqp.git","svn_url":"https://github.com/pinepain/php-amqp","homepage":null,"size":1922,"stargazers_count":0,"watchers_count":0,"language":"C","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":"master"}},"base":{"label":"pdezwart:master","ref":"master","sha":"df483a5920035d092b07b608e581443af56d3f4c","user":{"login":"pdezwart","id":959860,"avatar_url":"https://avatars.githubusercontent.com/u/959860?v=3","gravatar_id":"","url":"https://api.github.com/users/pdezwart","html_url":"https://github.com/pdezwart","followers_url":"https://api.github.com/users/pdezwart/followers","following_url":"https://api.github.com/users/pdezwart/following{/other_user}","gists_url":"https://api.github.com/users/pdezwart/gists{/gist_id}","starred_url":"https://api.github.com/users/pdezwart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdezwart/subscriptions","organizations_url":"https://api.github.com/users/pdezwart/orgs","repos_url":"https://api.github.com/users/pdezwart/repos","events_url":"https://api.github.com/users/pdezwart/events{/privacy}","received_events_url":"https://api.github.com/users/pdezwart/received_events","type":"User","site_admin":false},"repo":{"id":5734668,"name":"php-amqp","full_name":"pdezwart/php-amqp","owner":{"login":"pdezwart","id":959860,"avatar_url":"https://avatars.githubusercontent.com/u/959860?v=3","gravatar_id":"","url":"https://api.github.com/users/pdezwart","html_url":"https://github.com/pdezwart","followers_url":"https://api.github.com/users/pdezwart/followers","following_url":"https://api.github.com/users/pdezwart/following{/other_user}","gists_url":"https://api.github.com/users/pdezwart/gists{/gist_id}","starred_url":"https://api.github.com/users/pdezwart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdezwart/subscriptions","organizations_url":"https://api.github.com/users/pdezwart/orgs","repos_url":"https://api.github.com/users/pdezwart/repos","events_url":"https://api.github.com/users/pdezwart/events{/privacy}","received_events_url":"https://api.github.com/users/pdezwart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pdezwart/php-amqp","description":"PHP AMQP Binding Library","fork":false,"url":"https://api.github.com/repos/pdezwart/php-amqp","forks_url":"https://api.github.com/repos/pdezwart/php-amqp/forks","keys_url":"https://api.github.com/repos/pdezwart/php-amqp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pdezwart/php-amqp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pdezwart/php-amqp/teams","hooks_url":"https://api.github.com/repos/pdezwart/php-amqp/hooks","issue_events_url":"https://api.github.com/repos/pdezwart/php-amqp/issues/events{/number}","events_url":"https://api.github.com/repos/pdezwart/php-amqp/events","assignees_url":"https://api.github.com/repos/pdezwart/php-amqp/assignees{/user}","branches_url":"https://api.github.com/repos/pdezwart/php-amqp/branches{/branch}","tags_url":"https://api.github.com/repos/pdezwart/php-amqp/tags","blobs_url":"https://api.github.com/repos/pdezwart/php-amqp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pdezwart/php-amqp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pdezwart/php-amqp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pdezwart/php-amqp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pdezwart/php-amqp/statuses/{sha}","languages_url":"https://api.github.com/repos/pdezwart/php-amqp/languages","stargazers_url":"https://api.github.com/repos/pdezwart/php-amqp/stargazers","contributors_url":"https://api.github.com/repos/pdezwart/php-amqp/contributors","subscribers_url":"https://api.github.com/repos/pdezwart/php-amqp/subscribers","subscription_url":"https://api.github.com/repos/pdezwart/php-amqp/subscription","commits_url":"https://api.github.com/repos/pdezwart/php-amqp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pdezwart/php-amqp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pdezwart/php-amqp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pdezwart/php-amqp/issues/comments{/number}","contents_url":"https://api.github.com/repos/pdezwart/php-amqp/contents/{+path}","compare_url":"https://api.github.com/repos/pdezwart/php-amqp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pdezwart/php-amqp/merges","archive_url":"https://api.github.com/repos/pdezwart/php-amqp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pdezwart/php-amqp/downloads","issues_url":"https://api.github.com/repos/pdezwart/php-amqp/issues{/number}","pulls_url":"https://api.github.com/repos/pdezwart/php-amqp/pulls{/number}","milestones_url":"https://api.github.com/repos/pdezwart/php-amqp/milestones{/number}","notifications_url":"https://api.github.com/repos/pdezwart/php-amqp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pdezwart/php-amqp/labels{/name}","releases_url":"https://api.github.com/repos/pdezwart/php-amqp/releases{/id}","created_at":"2012-09-09T03:43:19Z","updated_at":"2015-10-07T01:13:12Z","pushed_at":"2015-10-08T14:38:57Z","git_url":"git://github.com/pdezwart/php-amqp.git","ssh_url":"git@github.com:pdezwart/php-amqp.git","clone_url":"https://github.com/pdezwart/php-amqp.git","svn_url":"https://github.com/pdezwart/php-amqp","homepage":null,"size":1780,"stargazers_count":152,"watchers_count":152,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":19,"forks":50,"open_issues":19,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pdezwart/php-amqp/pulls/181"},"html":{"href":"https://github.com/pdezwart/php-amqp/pull/181"},"issue":{"href":"https://api.github.com/repos/pdezwart/php-amqp/issues/181"},"comments":{"href":"https://api.github.com/repos/pdezwart/php-amqp/issues/181/comments"},"review_comments":{"href":"https://api.github.com/repos/pdezwart/php-amqp/pulls/181/comments"},"review_comment":{"href":"https://api.github.com/repos/pdezwart/php-amqp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pdezwart/php-amqp/pulls/181/commits"},"statuses":{"href":"https://api.github.com/repos/pdezwart/php-amqp/statuses/cdfb39cce0d0bc0d33bba93b106ac214b4309362"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":17,"additions":4312,"deletions":3949,"changed_files":61}}