{"action":"created","comment":{"url":"https://api.github.com/repos/php/php-src/pulls/comments/312750099","pull_request_review_id":273474755,"id":312750099,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxMjc1MDA5OQ==","diff_hunk":"@@ -0,0 +1,56 @@\n+<?php\n+\n+/** @return resource|int|false */\n+function zip_open(string $filename) {}\n+\n+/**\n+ * @param resource $zip\n+ */\n+function zip_close($zip): bool {}","path":"ext/zip/php_zip.stub.php","position":null,"original_position":9,"commit_id":"2115aada2ae24b0ab714153ecbfa05d8ac0e4cac","original_commit_id":"de4e353c50ee62afe7c2ba5143b1349f64d307bc","user":{"login":"cmb69","id":2306138,"node_id":"MDQ6VXNlcjIzMDYxMzg=","avatar_url":"https://avatars1.githubusercontent.com/u/2306138?v=4","gravatar_id":"","url":"https://api.github.com/users/cmb69","html_url":"https://github.com/cmb69","followers_url":"https://api.github.com/users/cmb69/followers","following_url":"https://api.github.com/users/cmb69/following{/other_user}","gists_url":"https://api.github.com/users/cmb69/gists{/gist_id}","starred_url":"https://api.github.com/users/cmb69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmb69/subscriptions","organizations_url":"https://api.github.com/users/cmb69/orgs","repos_url":"https://api.github.com/users/cmb69/repos","events_url":"https://api.github.com/users/cmb69/events{/privacy}","received_events_url":"https://api.github.com/users/cmb69/received_events","type":"User","site_admin":false},"body":"I already though about introducing some macro which makes it clearer that this is an \"exception return\". Not sure about the name. A simple `return` would still be an improvement.","created_at":"2019-08-11T18:43:21Z","updated_at":"2019-08-11T18:43:21Z","html_url":"https://github.com/php/php-src/pull/4520#discussion_r312750099","pull_request_url":"https://api.github.com/repos/php/php-src/pulls/4520","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/php/php-src/pulls/comments/312750099"},"html":{"href":"https://github.com/php/php-src/pull/4520#discussion_r312750099"},"pull_request":{"href":"https://api.github.com/repos/php/php-src/pulls/4520"}},"in_reply_to_id":312748468},"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/4520","id":306294516,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA2Mjk0NTE2","html_url":"https://github.com/php/php-src/pull/4520","diff_url":"https://github.com/php/php-src/pull/4520.diff","patch_url":"https://github.com/php/php-src/pull/4520.patch","issue_url":"https://api.github.com/repos/php/php-src/issues/4520","number":4520,"state":"open","locked":false,"title":"Added zip arginfo stubs","user":{"login":"stephenreay","id":819663,"node_id":"MDQ6VXNlcjgxOTY2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/819663?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenreay","html_url":"https://github.com/stephenreay","followers_url":"https://api.github.com/users/stephenreay/followers","following_url":"https://api.github.com/users/stephenreay/following{/other_user}","gists_url":"https://api.github.com/users/stephenreay/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenreay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenreay/subscriptions","organizations_url":"https://api.github.com/users/stephenreay/orgs","repos_url":"https://api.github.com/users/stephenreay/repos","events_url":"https://api.github.com/users/stephenreay/events{/privacy}","received_events_url":"https://api.github.com/users/stephenreay/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-08-11T17:11:29Z","updated_at":"2019-08-11T18:43:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e809dbeeb73b91a47eb5fb833a7278255e766f7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":148912334,"node_id":"MDU6TGFiZWwxNDg5MTIzMzQ=","url":"https://api.github.com/repos/php/php-src/labels/Enhancement","name":"Enhancement","color":"bfe5bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/php/php-src/pulls/4520/commits","review_comments_url":"https://api.github.com/repos/php/php-src/pulls/4520/comments","review_comment_url":"https://api.github.com/repos/php/php-src/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php/php-src/issues/4520/comments","statuses_url":"https://api.github.com/repos/php/php-src/statuses/2115aada2ae24b0ab714153ecbfa05d8ac0e4cac","head":{"label":"Koalephant:zip-stubs","ref":"zip-stubs","sha":"2115aada2ae24b0ab714153ecbfa05d8ac0e4cac","user":{"login":"Koalephant","id":8937870,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5Mzc4NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/8937870?v=4","gravatar_id":"","url":"https://api.github.com/users/Koalephant","html_url":"https://github.com/Koalephant","followers_url":"https://api.github.com/users/Koalephant/followers","following_url":"https://api.github.com/users/Koalephant/following{/other_user}","gists_url":"https://api.github.com/users/Koalephant/gists{/gist_id}","starred_url":"https://api.github.com/users/Koalephant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koalephant/subscriptions","organizations_url":"https://api.github.com/users/Koalephant/orgs","repos_url":"https://api.github.com/users/Koalephant/repos","events_url":"https://api.github.com/users/Koalephant/events{/privacy}","received_events_url":"https://api.github.com/users/Koalephant/received_events","type":"Organization","site_admin":false},"repo":{"id":201622631,"node_id":"MDEwOlJlcG9zaXRvcnkyMDE2MjI2MzE=","name":"php-src","full_name":"Koalephant/php-src","private":false,"owner":{"login":"Koalephant","id":8937870,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5Mzc4NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/8937870?v=4","gravatar_id":"","url":"https://api.github.com/users/Koalephant","html_url":"https://github.com/Koalephant","followers_url":"https://api.github.com/users/Koalephant/followers","following_url":"https://api.github.com/users/Koalephant/following{/other_user}","gists_url":"https://api.github.com/users/Koalephant/gists{/gist_id}","starred_url":"https://api.github.com/users/Koalephant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koalephant/subscriptions","organizations_url":"https://api.github.com/users/Koalephant/orgs","repos_url":"https://api.github.com/users/Koalephant/repos","events_url":"https://api.github.com/users/Koalephant/events{/privacy}","received_events_url":"https://api.github.com/users/Koalephant/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Koalephant/php-src","description":"The PHP Interpreter","fork":true,"url":"https://api.github.com/repos/Koalephant/php-src","forks_url":"https://api.github.com/repos/Koalephant/php-src/forks","keys_url":"https://api.github.com/repos/Koalephant/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Koalephant/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Koalephant/php-src/teams","hooks_url":"https://api.github.com/repos/Koalephant/php-src/hooks","issue_events_url":"https://api.github.com/repos/Koalephant/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/Koalephant/php-src/events","assignees_url":"https://api.github.com/repos/Koalephant/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/Koalephant/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/Koalephant/php-src/tags","blobs_url":"https://api.github.com/repos/Koalephant/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Koalephant/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Koalephant/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/Koalephant/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Koalephant/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/Koalephant/php-src/languages","stargazers_url":"https://api.github.com/repos/Koalephant/php-src/stargazers","contributors_url":"https://api.github.com/repos/Koalephant/php-src/contributors","subscribers_url":"https://api.github.com/repos/Koalephant/php-src/subscribers","subscription_url":"https://api.github.com/repos/Koalephant/php-src/subscription","commits_url":"https://api.github.com/repos/Koalephant/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/Koalephant/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/Koalephant/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/Koalephant/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/Koalephant/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/Koalephant/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Koalephant/php-src/merges","archive_url":"https://api.github.com/repos/Koalephant/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Koalephant/php-src/downloads","issues_url":"https://api.github.com/repos/Koalephant/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/Koalephant/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/Koalephant/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/Koalephant/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Koalephant/php-src/labels{/name}","releases_url":"https://api.github.com/repos/Koalephant/php-src/releases{/id}","deployments_url":"https://api.github.com/repos/Koalephant/php-src/deployments","created_at":"2019-08-10T11:46:17Z","updated_at":"2019-08-11T17:16:05Z","pushed_at":"2019-08-11T18:18:54Z","git_url":"git://github.com/Koalephant/php-src.git","ssh_url":"git@github.com:Koalephant/php-src.git","clone_url":"https://github.com/Koalephant/php-src.git","svn_url":"https://github.com/Koalephant/php-src","homepage":"https://www.php.net","size":373068,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"php:master","ref":"master","sha":"cfbcd4caef558cab23ecacdca57ac5f5a342a5fa","user":{"login":"php","id":25158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MTU4","avatar_url":"https://avatars2.githubusercontent.com/u/25158?v=4","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"repo":{"id":1903522,"node_id":"MDEwOlJlcG9zaXRvcnkxOTAzNTIy","name":"php-src","full_name":"php/php-src","private":false,"owner":{"login":"php","id":25158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MTU4","avatar_url":"https://avatars2.githubusercontent.com/u/25158?v=4","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/php/php-src","description":"The PHP Interpreter","fork":false,"url":"https://api.github.com/repos/php/php-src","forks_url":"https://api.github.com/repos/php/php-src/forks","keys_url":"https://api.github.com/repos/php/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php/php-src/teams","hooks_url":"https://api.github.com/repos/php/php-src/hooks","issue_events_url":"https://api.github.com/repos/php/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/php/php-src/events","assignees_url":"https://api.github.com/repos/php/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/php/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/php/php-src/tags","blobs_url":"https://api.github.com/repos/php/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/php/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/php/php-src/languages","stargazers_url":"https://api.github.com/repos/php/php-src/stargazers","contributors_url":"https://api.github.com/repos/php/php-src/contributors","subscribers_url":"https://api.github.com/repos/php/php-src/subscribers","subscription_url":"https://api.github.com/repos/php/php-src/subscription","commits_url":"https://api.github.com/repos/php/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/php/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/php/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/php/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/php/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/php/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php/php-src/merges","archive_url":"https://api.github.com/repos/php/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php/php-src/downloads","issues_url":"https://api.github.com/repos/php/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/php/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/php/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/php/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php/php-src/labels{/name}","releases_url":"https://api.github.com/repos/php/php-src/releases{/id}","deployments_url":"https://api.github.com/repos/php/php-src/deployments","created_at":"2011-06-16T01:52:25Z","updated_at":"2019-08-11T18:09:24Z","pushed_at":"2019-08-11T18:18:57Z","git_url":"git://github.com/php/php-src.git","ssh_url":"git@github.com:php/php-src.git","clone_url":"https://github.com/php/php-src.git","svn_url":"https://github.com/php/php-src","homepage":"https://www.php.net","size":373031,"stargazers_count":24373,"watchers_count":24373,"language":"C","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5601,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":185,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5601,"open_issues":185,"watchers":24373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php/php-src/pulls/4520"},"html":{"href":"https://github.com/php/php-src/pull/4520"},"issue":{"href":"https://api.github.com/repos/php/php-src/issues/4520"},"comments":{"href":"https://api.github.com/repos/php/php-src/issues/4520/comments"},"review_comments":{"href":"https://api.github.com/repos/php/php-src/pulls/4520/comments"},"review_comment":{"href":"https://api.github.com/repos/php/php-src/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php/php-src/pulls/4520/commits"},"statuses":{"href":"https://api.github.com/repos/php/php-src/statuses/2115aada2ae24b0ab714153ecbfa05d8ac0e4cac"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cmb69"}}