{"action":"closed","issue":{"url":"https://api.github.com/repos/wonderfan/php/issues/18","labels_url":"https://api.github.com/repos/wonderfan/php/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/wonderfan/php/issues/18/comments","events_url":"https://api.github.com/repos/wonderfan/php/issues/18/events","html_url":"https://github.com/wonderfan/php/issues/18","id":75895072,"number":18,"title":"The Closure class","user":{"login":"wonderfan","id":1715077,"avatar_url":"https://avatars.githubusercontent.com/u/1715077?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderfan","html_url":"https://github.com/wonderfan","followers_url":"https://api.github.com/users/wonderfan/followers","following_url":"https://api.github.com/users/wonderfan/following{/other_user}","gists_url":"https://api.github.com/users/wonderfan/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderfan/subscriptions","organizations_url":"https://api.github.com/users/wonderfan/orgs","repos_url":"https://api.github.com/users/wonderfan/repos","events_url":"https://api.github.com/users/wonderfan/events{/privacy}","received_events_url":"https://api.github.com/users/wonderfan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wonderfan/php/labels/PHP%20Language","name":"PHP Language","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T08:15:42Z","updated_at":"2015-05-13T09:12:06Z","closed_at":"2015-05-13T09:12:06Z","body":"Class used to represent anonymous functions.\r\n\r\nAnonymous functions, implemented in PHP 5.3, yield objects of this type. This fact used to be considered an implementation detail, but it can now be relied upon. Starting with PHP 5.4, this class has methods that allow further control of the anonymous function after it has been created.\r\n\r\nBesides the methods listed here, this class also has an __invoke method. This is for consistency with other classes that implement calling magic, as this method is not used for calling the function."}}