{"action":"created","comment":{"url":"https://api.github.com/repos/php/php-src/pulls/comments/64532843","id":64532843,"diff_hunk":"@@ -0,0 +1,58 @@\n+--TEST--\n+Test function curl_multi_info_read() by calling it with its required argument\n+--CREDITS--\n+Ryan Jentzsch ryan.jentzsch@gmail.com \n+--FILE--\n+<?php\n+\n+//CREATE RESOURCES\n+$ch1=curl_init();\n+$ch2=curl_init();\n+\n+//SET URL AND OTHER OPTIONS\n+include 'server.inc';\n+$host = curl_cli_server_start();\n+curl_setopt($ch1, CURLOPT_URL, \"{$host}/get.php?test=getpost&get_param=test\");\n+curl_setopt($ch2, CURLOPT_URL, \"file://\".dirname(__FILE__). DIRECTORY_SEPARATOR . \"curl_testdata2.txt\");\n+curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true);\n+curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);\n+\t\n+//CREATE MULTIPLE CURL HANDLE\n+$mh=curl_multi_init();\n+\n+//ADD THE 2 RESOURCES\n+curl_multi_add_handle($mh,$ch1);\n+curl_multi_add_handle($mh,$ch2);\n+\n+//ACTUAL LOGIC\n+do {\n+    $status = curl_multi_exec($mh, $active);\n+    $info = curl_multi_info_read($mh);\n+    if (false !== $info) {\n+        var_dump($info);\n+    }\n+} while ($status === CURLM_CALL_MULTI_PERFORM || $active);\n+\n+\n+//CLOSE","path":"curl_multi_info_read_basic.phpt","position":37,"original_position":37,"commit_id":"ae2319b3a1ae01bdb3b14cc5537286d4da0c239a","original_commit_id":"ae2319b3a1ae01bdb3b14cc5537286d4da0c239a","user":{"login":"staabm","id":120441,"avatar_url":"https://avatars.githubusercontent.com/u/120441?v=3","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"body":"useless comment","created_at":"2016-05-25T08:23:39Z","updated_at":"2016-05-25T08:23:39Z","html_url":"https://github.com/php/php-src/pull/1922#discussion_r64532843","pull_request_url":"https://api.github.com/repos/php/php-src/pulls/1922","_links":{"self":{"href":"https://api.github.com/repos/php/php-src/pulls/comments/64532843"},"html":{"href":"https://github.com/php/php-src/pull/1922#discussion_r64532843"},"pull_request":{"href":"https://api.github.com/repos/php/php-src/pulls/1922"}}},"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/1922","id":71341886,"html_url":"https://github.com/php/php-src/pull/1922","diff_url":"https://github.com/php/php-src/pull/1922.diff","patch_url":"https://github.com/php/php-src/pull/1922.patch","issue_url":"https://api.github.com/repos/php/php-src/issues/1922","number":1922,"state":"open","locked":false,"title":"Case test for curl_multi_info_read() function","user":{"login":"RyanNerd","id":10543911,"avatar_url":"https://avatars.githubusercontent.com/u/10543911?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanNerd","html_url":"https://github.com/RyanNerd","followers_url":"https://api.github.com/users/RyanNerd/followers","following_url":"https://api.github.com/users/RyanNerd/following{/other_user}","gists_url":"https://api.github.com/users/RyanNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanNerd/subscriptions","organizations_url":"https://api.github.com/users/RyanNerd/orgs","repos_url":"https://api.github.com/users/RyanNerd/repos","events_url":"https://api.github.com/users/RyanNerd/events{/privacy}","received_events_url":"https://api.github.com/users/RyanNerd/received_events","type":"User","site_admin":false},"body":"Test case for the curl_multi_info_read() function. \r\nTests required parameters only.","created_at":"2016-05-25T07:25:15Z","updated_at":"2016-05-25T08:23:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3afc7a2cb2e27536278a4848a42edd23debe9bcf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/php/php-src/pulls/1922/commits","review_comments_url":"https://api.github.com/repos/php/php-src/pulls/1922/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/1922/comments","statuses_url":"https://api.github.com/repos/php/php-src/statuses/ae2319b3a1ae01bdb3b14cc5537286d4da0c239a","head":{"label":"RyanNerd:curl_multi_info_read_basic","ref":"curl_multi_info_read_basic","sha":"ae2319b3a1ae01bdb3b14cc5537286d4da0c239a","user":{"login":"RyanNerd","id":10543911,"avatar_url":"https://avatars.githubusercontent.com/u/10543911?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanNerd","html_url":"https://github.com/RyanNerd","followers_url":"https://api.github.com/users/RyanNerd/followers","following_url":"https://api.github.com/users/RyanNerd/following{/other_user}","gists_url":"https://api.github.com/users/RyanNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanNerd/subscriptions","organizations_url":"https://api.github.com/users/RyanNerd/orgs","repos_url":"https://api.github.com/users/RyanNerd/repos","events_url":"https://api.github.com/users/RyanNerd/events{/privacy}","received_events_url":"https://api.github.com/users/RyanNerd/received_events","type":"User","site_admin":false},"repo":{"id":59635210,"name":"php-src","full_name":"RyanNerd/php-src","owner":{"login":"RyanNerd","id":10543911,"avatar_url":"https://avatars.githubusercontent.com/u/10543911?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanNerd","html_url":"https://github.com/RyanNerd","followers_url":"https://api.github.com/users/RyanNerd/followers","following_url":"https://api.github.com/users/RyanNerd/following{/other_user}","gists_url":"https://api.github.com/users/RyanNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanNerd/subscriptions","organizations_url":"https://api.github.com/users/RyanNerd/orgs","repos_url":"https://api.github.com/users/RyanNerd/repos","events_url":"https://api.github.com/users/RyanNerd/events{/privacy}","received_events_url":"https://api.github.com/users/RyanNerd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RyanNerd/php-src","description":"The PHP Interpreter","fork":true,"url":"https://api.github.com/repos/RyanNerd/php-src","forks_url":"https://api.github.com/repos/RyanNerd/php-src/forks","keys_url":"https://api.github.com/repos/RyanNerd/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RyanNerd/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RyanNerd/php-src/teams","hooks_url":"https://api.github.com/repos/RyanNerd/php-src/hooks","issue_events_url":"https://api.github.com/repos/RyanNerd/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/RyanNerd/php-src/events","assignees_url":"https://api.github.com/repos/RyanNerd/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/RyanNerd/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/RyanNerd/php-src/tags","blobs_url":"https://api.github.com/repos/RyanNerd/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RyanNerd/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RyanNerd/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/RyanNerd/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RyanNerd/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/RyanNerd/php-src/languages","stargazers_url":"https://api.github.com/repos/RyanNerd/php-src/stargazers","contributors_url":"https://api.github.com/repos/RyanNerd/php-src/contributors","subscribers_url":"https://api.github.com/repos/RyanNerd/php-src/subscribers","subscription_url":"https://api.github.com/repos/RyanNerd/php-src/subscription","commits_url":"https://api.github.com/repos/RyanNerd/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/RyanNerd/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/RyanNerd/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/RyanNerd/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/RyanNerd/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/RyanNerd/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RyanNerd/php-src/merges","archive_url":"https://api.github.com/repos/RyanNerd/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RyanNerd/php-src/downloads","issues_url":"https://api.github.com/repos/RyanNerd/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/RyanNerd/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/RyanNerd/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/RyanNerd/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RyanNerd/php-src/labels{/name}","releases_url":"https://api.github.com/repos/RyanNerd/php-src/releases{/id}","deployments_url":"https://api.github.com/repos/RyanNerd/php-src/deployments","created_at":"2016-05-25T06:00:51Z","updated_at":"2016-05-25T06:01:46Z","pushed_at":"2016-05-25T07:04:33Z","git_url":"git://github.com/RyanNerd/php-src.git","ssh_url":"git@github.com:RyanNerd/php-src.git","clone_url":"https://github.com/RyanNerd/php-src.git","svn_url":"https://github.com/RyanNerd/php-src","homepage":"http://www.php.net","size":246244,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"php:master","ref":"master","sha":"4ba0197f87e3b91be31fe2f072141063ed24074c","user":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","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,"name":"php-src","full_name":"php/php-src","owner":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","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},"private":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":"2016-05-25T07:42:15Z","pushed_at":"2016-05-25T07:25:15Z","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":"http://www.php.net","size":388836,"stargazers_count":9202,"watchers_count":9202,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3186,"mirror_url":null,"open_issues_count":340,"forks":3186,"open_issues":340,"watchers":9202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php/php-src/pulls/1922"},"html":{"href":"https://github.com/php/php-src/pull/1922"},"issue":{"href":"https://api.github.com/repos/php/php-src/issues/1922"},"comments":{"href":"https://api.github.com/repos/php/php-src/issues/1922/comments"},"review_comments":{"href":"https://api.github.com/repos/php/php-src/pulls/1922/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/1922/commits"},"statuses":{"href":"https://api.github.com/repos/php/php-src/statuses/ae2319b3a1ae01bdb3b14cc5537286d4da0c239a"}}}}
{"actor":{"display_login":"staabm"}}