{"action":"closed","issue":{"url":"https://api.github.com/repos/slushie/recaptcha-secure-token/issues/4","labels_url":"https://api.github.com/repos/slushie/recaptcha-secure-token/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/slushie/recaptcha-secure-token/issues/4/comments","events_url":"https://api.github.com/repos/slushie/recaptcha-secure-token/issues/4/events","html_url":"https://github.com/slushie/recaptcha-secure-token/issues/4","id":109947519,"number":4,"title":"Secure token timestamp","user":{"login":"mtilburg","id":3456548,"avatar_url":"https://avatars.githubusercontent.com/u/3456548?v=3","gravatar_id":"","url":"https://api.github.com/users/mtilburg","html_url":"https://github.com/mtilburg","followers_url":"https://api.github.com/users/mtilburg/followers","following_url":"https://api.github.com/users/mtilburg/following{/other_user}","gists_url":"https://api.github.com/users/mtilburg/gists{/gist_id}","starred_url":"https://api.github.com/users/mtilburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtilburg/subscriptions","organizations_url":"https://api.github.com/users/mtilburg/orgs","repos_url":"https://api.github.com/users/mtilburg/repos","events_url":"https://api.github.com/users/mtilburg/events{/privacy}","received_events_url":"https://api.github.com/users/mtilburg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T07:03:48Z","updated_at":"2015-10-07T07:39:10Z","closed_at":"2015-10-07T07:39:10Z","body":"Hello,\r\n\r\nI found some strange behaviour of the widget.\r\nCasting round(microtime(true)*1000) to a int gives error: stoken expired error.\r\nJust returning the rounded value works fine. Hope it helps someone.\r\n\r\nTested on Windows Server 2012 with PHP 5.3.19\r\n\r\nKind regards,\r\n\r\nMarc van Tilburg\r\n\r\nprotected function currentTimestamp() {\r\n    return round(microtime(true)*1000);\r\n    //return intval(round(microtime(true) * 1000)); //intval makes it invalid?\r\n}"}}