{"action":"created","issue":{"url":"https://api.github.com/repos/php/php-src/issues/1863","repository_url":"https://api.github.com/repos/php/php-src","labels_url":"https://api.github.com/repos/php/php-src/issues/1863/labels{/name}","comments_url":"https://api.github.com/repos/php/php-src/issues/1863/comments","events_url":"https://api.github.com/repos/php/php-src/issues/1863/events","html_url":"https://github.com/php/php-src/pull/1863","id":148455894,"number":1863,"title":"Resolve bug #72017","user":{"login":"tpunt","id":1403064,"avatar_url":"https://avatars.githubusercontent.com/u/1403064?v=3","gravatar_id":"","url":"https://api.github.com/users/tpunt","html_url":"https://github.com/tpunt","followers_url":"https://api.github.com/users/tpunt/followers","following_url":"https://api.github.com/users/tpunt/following{/other_user}","gists_url":"https://api.github.com/users/tpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/tpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpunt/subscriptions","organizations_url":"https://api.github.com/users/tpunt/orgs","repos_url":"https://api.github.com/users/tpunt/repos","events_url":"https://api.github.com/users/tpunt/events{/privacy}","received_events_url":"https://api.github.com/users/tpunt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/php/php-src/labels/Bugfix","name":"Bugfix","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-14T19:14:52Z","updated_at":"2016-05-12T11:49:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/1863","html_url":"https://github.com/php/php-src/pull/1863","diff_url":"https://github.com/php/php-src/pull/1863.diff","patch_url":"https://github.com/php/php-src/pull/1863.patch"},"body":"Resolves bug [#72017](https://bugs.php.net/bug.php?id=72017).\r\n\r\nThis is a little hacky, but it works. It should really be noted that `range()` does not work well with floats because of the precision problem.\r\n\r\nThere's still cases where `range()` will not work:\r\n```\r\nvar_dump(range(90, 90.1, .1)); // bool(false)\r\n```\r\n([3v4l](https://3v4l.org/6O769).)\r\n\r\nI can't see a fix to these, however."},"comment":{"url":"https://api.github.com/repos/php/php-src/issues/comments/218734565","html_url":"https://github.com/php/php-src/pull/1863#issuecomment-218734565","issue_url":"https://api.github.com/repos/php/php-src/issues/1863","id":218734565,"user":{"login":"tpunt","id":1403064,"avatar_url":"https://avatars.githubusercontent.com/u/1403064?v=3","gravatar_id":"","url":"https://api.github.com/users/tpunt","html_url":"https://github.com/tpunt","followers_url":"https://api.github.com/users/tpunt/followers","following_url":"https://api.github.com/users/tpunt/following{/other_user}","gists_url":"https://api.github.com/users/tpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/tpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpunt/subscriptions","organizations_url":"https://api.github.com/users/tpunt/orgs","repos_url":"https://api.github.com/users/tpunt/repos","events_url":"https://api.github.com/users/tpunt/events{/privacy}","received_events_url":"https://api.github.com/users/tpunt/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T11:49:31Z","updated_at":"2016-05-12T11:49:31Z","body":"@jhdxr There are no BC breaks with this bug fix, AFAICT.\r\n\r\n@weltling This bug is also applicable to the PHP 7.0 branch (I submitted the PR against master instead of PHP 7.0, sorry)."}}