{"action":"created","issue":{"url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/86","repository_url":"https://api.github.com/repos/immobiliare/ApnsPHP","labels_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/86/comments","events_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/86/events","html_url":"https://github.com/immobiliare/ApnsPHP/pull/86","id":68081339,"number":86,"title":"fread would hang indefinitely when socket was empty, this prevents that.","user":{"login":"JohnyDays","id":4540763,"avatar_url":"https://avatars.githubusercontent.com/u/4540763?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnyDays","html_url":"https://github.com/JohnyDays","followers_url":"https://api.github.com/users/JohnyDays/followers","following_url":"https://api.github.com/users/JohnyDays/following{/other_user}","gists_url":"https://api.github.com/users/JohnyDays/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnyDays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnyDays/subscriptions","organizations_url":"https://api.github.com/users/JohnyDays/orgs","repos_url":"https://api.github.com/users/JohnyDays/repos","events_url":"https://api.github.com/users/JohnyDays/events{/privacy}","received_events_url":"https://api.github.com/users/JohnyDays/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-13T12:07:54Z","updated_at":"2016-04-07T15:20:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/immobiliare/ApnsPHP/pulls/86","html_url":"https://github.com/immobiliare/ApnsPHP/pull/86","diff_url":"https://github.com/immobiliare/ApnsPHP/pull/86.diff","patch_url":"https://github.com/immobiliare/ApnsPHP/pull/86.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/comments/206950323","html_url":"https://github.com/immobiliare/ApnsPHP/pull/86#issuecomment-206950323","issue_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/86","id":206950323,"user":{"login":"Zaeembinrehman","id":15250782,"avatar_url":"https://avatars.githubusercontent.com/u/15250782?v=3","gravatar_id":"","url":"https://api.github.com/users/Zaeembinrehman","html_url":"https://github.com/Zaeembinrehman","followers_url":"https://api.github.com/users/Zaeembinrehman/followers","following_url":"https://api.github.com/users/Zaeembinrehman/following{/other_user}","gists_url":"https://api.github.com/users/Zaeembinrehman/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaeembinrehman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaeembinrehman/subscriptions","organizations_url":"https://api.github.com/users/Zaeembinrehman/orgs","repos_url":"https://api.github.com/users/Zaeembinrehman/repos","events_url":"https://api.github.com/users/Zaeembinrehman/events{/privacy}","received_events_url":"https://api.github.com/users/Zaeembinrehman/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T15:20:08Z","updated_at":"2016-04-07T15:20:08Z","body":"@JohnyDays \r\nI have got the same issue but adding the 4 lines of this commit didn't solve issue for me.\r\n\r\nPHP Version is as follows:\r\n\r\n![php git](https://cloud.githubusercontent.com/assets/15250782/14356385/1d416784-fcfe-11e5-9031-c3c42f1f479c.PNG)\r\n"}}