René's URL Explorer Experiment


Title: Compare ints with a float bound the way PHP does in IntegerRangeType by zonuexe · Pull Request #6542 · phpstan/phpstan-src · GitHub

Open Graph Title: Compare ints with a float bound the way PHP does in IntegerRangeType by zonuexe · Pull Request #6542 · phpstan/phpstan-src

X Title: Compare ints with a float bound the way PHP does in IntegerRangeType by zonuexe · Pull Request #6542 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Compare ints with a float bound the way PHP does in IntegerRangeType by zonuexe · Pull Request #6542 · phpstan/phpstan-src

Open Graph Description: IntegerRangeType::createAllSmallerThan(), createAllSmallerThanOrEqualTo(), createAllGreaterThan() and createAllGreaterThanOrEqualTo() can return ranges that disagree with PHP when the bound is a fl...

X Description: IntegerRangeType::createAllSmallerThan(), createAllSmallerThanOrEqualTo(), createAllGreaterThan() and createAllGreaterThanOrEqualTo() can return ranges that disagree with PHP when the bound is a fl...

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/6542

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6017d678-34e4-a53f-3c27-9ef477f72e7b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAAB2:67513:3A12F0:4FCFE8:6B006E1D
html-safe-nonce165b4f378e8a89b52f346b910dca2c8722e032860edc99a1567158b277449054
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUIyOjY3NTEzOjNBMTJGMDo0RkNGRTg6NkIwMDZFMUQiLCJ2aXNpdG9yX2lkIjoiNDIyNzAzODkxOTY3NTM3NTEzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac215487045b1f02bab18eb663798af9c7612cc396f8baea85c8575b6a7aff076d
hovercard-subject-tagpull_request:4606443274
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/6542/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/80379d17160c55ec43721bdd32c989b2ca7464e999df007ca514273c65b722aa/phpstan/phpstan-src/pull/6542
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/80379d17160c55ec43721bdd32c989b2ca7464e999df007ca514273c65b722aa/phpstan/phpstan-src/pull/6542
og:image:altIntegerRangeType::createAllSmallerThan(), createAllSmallerThanOrEqualTo(), createAllGreaterThan() and createAllGreaterThanOrEqualTo() can return ranges that disagree with PHP when the bound is a fl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezonuexe
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6542#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6542
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6542
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=phpstan%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/6542
Reloadhttps://github.com/phpstan/phpstan-src/pull/6542
Reloadhttps://github.com/phpstan/phpstan-src/pull/6542
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests185 (185)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
zonuexehttps://github.com/zonuexe
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
zonuexe:int-range-float-2-pow-63https://github.com/zonuexe/phpstan-src/tree/int-range-float-2-pow-63
Conversationhttps://github.com/phpstan/phpstan-src/pull/6542
Commits4 (4)https://github.com/phpstan/phpstan-src/pull/6542/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6542/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6542/files
Compare ints with a float bound the way PHP does in IntegerRangeTypehttps://github.com/phpstan/phpstan-src/pull/6542#top
zonuexehttps://github.com/zonuexe
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
zonuexe:int-range-float-2-pow-63https://github.com/zonuexe/phpstan-src/tree/int-range-float-2-pow-63
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
Sep 22, 2026https://github.com/phpstan/phpstan-src/pull/6542#issue-5544725904
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
https://3v4l.org/WlQ9Fhttps://3v4l.org/WlQ9F
aa986e8https://github.com/phpstan/phpstan-src/commit/aa986e84ab40fbb7f7028822ab7b3e6c91aef4d6
aa986e8https://github.com/phpstan/phpstan-src/commit/aa986e84ab40fbb7f7028822ab7b3e6c91aef4d6
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
Sep 22, 2026https://github.com/phpstan/phpstan-src/pull/6542#event-31629002091
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
force-pushedhttps://github.com/phpstan/phpstan-src/compare/960a598a4275ebd50340619e2a49a7d094203e1d..76aae52db67101167a3a900999f07433a3a7044b
960a598https://github.com/phpstan/phpstan-src/commit/960a598a4275ebd50340619e2a49a7d094203e1d
76aae52https://github.com/phpstan/phpstan-src/commit/76aae52db67101167a3a900999f07433a3a7044b
Compare https://github.com/phpstan/phpstan-src/compare/960a598a4275ebd50340619e2a49a7d094203e1d..76aae52db67101167a3a900999f07433a3a7044b
September 22, 2026 20:26https://github.com/phpstan/phpstan-src/pull/6542#event-31629435531
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
Sep 23, 2026 https://github.com/phpstan/phpstan-src/pull/6542#ref-pullrequest-5547011923
Compare float bounds against PHP_INT_MAX + 1.0 in IntegerRangeType #6546 https://github.com/phpstan/phpstan-src/pull/6546
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
November 1, 2026 11:53https://github.com/phpstan/phpstan-src/pull/6542#event-34829255384
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/06683c6e09bb9a9ad6464a99a692d419996be11d..f91b63150f98502b81c0c8a43d864c01f472e6ba
06683c6https://github.com/phpstan/phpstan-src/commit/06683c6e09bb9a9ad6464a99a692d419996be11d
f91b631https://github.com/phpstan/phpstan-src/commit/f91b63150f98502b81c0c8a43d864c01f472e6ba
Compare https://github.com/phpstan/phpstan-src/compare/06683c6e09bb9a9ad6464a99a692d419996be11d..f91b63150f98502b81c0c8a43d864c01f472e6ba
November 1, 2026 12:02https://github.com/phpstan/phpstan-src/pull/6542#event-34829598900
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/f91b63150f98502b81c0c8a43d864c01f472e6ba..23e95442cb56c2a75e9d66d159231412f644207a
f91b631https://github.com/phpstan/phpstan-src/commit/f91b63150f98502b81c0c8a43d864c01f472e6ba
23e9544https://github.com/phpstan/phpstan-src/commit/23e95442cb56c2a75e9d66d159231412f644207a
Compare https://github.com/phpstan/phpstan-src/compare/f91b63150f98502b81c0c8a43d864c01f472e6ba..23e95442cb56c2a75e9d66d159231412f644207a
November 1, 2026 15:09https://github.com/phpstan/phpstan-src/pull/6542#event-34837897444
https://github.com/staabm
staabmhttps://github.com/staabm
Nov 1, 2026 https://github.com/phpstan/phpstan-src/pull/6542#pullrequestreview-5728768761
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6542/files
tests/PHPStan/Analyser/nsrt/integer-range-float-two-to-the-63.phphttps://github.com/phpstan/phpstan-src/pull/6542/files#diff-c394dc39138e2714e078f7dfd3611f52de3fad596f01fece8290a9ced51907ca
staabmhttps://github.com/staabm
Nov 1, 2026https://github.com/phpstan/phpstan-src/pull/6542#discussion_r4436185857
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://3v4l.org/WlQ9F#vhttps://3v4l.org/WlQ9F#v
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
zonuexehttps://github.com/zonuexe
Nov 2, 2026https://github.com/phpstan/phpstan-src/pull/6542#discussion_r4440084021
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
943c365https://github.com/phpstan/phpstan-src/commit/943c36556e621a8e2c367ed4f2af01cb342f691d
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
November 1, 2026 20:15https://github.com/phpstan/phpstan-src/pull/6542#event-34851942860
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
Nov 2, 2026https://github.com/phpstan/phpstan-src/pull/6542#event-34887455912
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
November 2, 2026 10:23https://github.com/phpstan/phpstan-src/pull/6542#event-34898422967
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Nov 2, 2026https://github.com/phpstan/phpstan-src/pull/6542#issuecomment-6574755758
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
zonuexehttps://github.com/zonuexe
November 13, 2026 06:40https://github.com/phpstan/phpstan-src/pull/6542#commits-pushed-68e2d15
https://github.com/zonuexe
https://github.com/claude
Treat the float 2**63 as above every int in IntegerRangeType factorieshttps://github.com/phpstan/phpstan-src/pull/6542/commits/68e2d157a84e32aab8ef3cbc3eafce0744c56930
68e2d15https://github.com/phpstan/phpstan-src/pull/6542/commits/68e2d157a84e32aab8ef3cbc3eafce0744c56930
https://github.com/zonuexe
Compare float bounds against PHP_INT_MAX + 1.0 in IntegerRangeTypehttps://github.com/phpstan/phpstan-src/pull/6542/commits/045f28505f6f83f2a9ffab2dcbaeb377fdfefa92
045f285https://github.com/phpstan/phpstan-src/pull/6542/commits/045f28505f6f83f2a9ffab2dcbaeb377fdfefa92
phpstan#6546https://github.com/phpstan/phpstan-src/pull/6546
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
November 12, 2026 21:42https://github.com/phpstan/phpstan-src/pull/6542#event-35965182441
zonuexehttps://github.com/zonuexe
November 13, 2026 06:43https://github.com/phpstan/phpstan-src/pull/6542#commits-pushed-a009673
https://github.com/zonuexe
https://github.com/claude
Compare ints with a float bound the way PHP does in IntegerRangeTypehttps://github.com/phpstan/phpstan-src/pull/6542/commits/a009673be32163de632f14fabae372c2a88ff64a
a009673https://github.com/phpstan/phpstan-src/pull/6542/commits/a009673be32163de632f14fabae372c2a88ff64a
https://github.com/zonuexe
https://github.com/claude
Do not use match in IntegerRangeType and its testhttps://github.com/phpstan/phpstan-src/pull/6542/commits/ae5319ee8060e58be0f1657679caaf716cfdef75
ae5319ehttps://github.com/phpstan/phpstan-src/pull/6542/commits/ae5319ee8060e58be0f1657679caaf716cfdef75
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
force-pushedhttps://github.com/phpstan/phpstan-src/compare/8ddd9c52fe22727b369fbe36a5f2f23b3f474835..ae5319ee8060e58be0f1657679caaf716cfdef75
8ddd9c5https://github.com/phpstan/phpstan-src/commit/8ddd9c52fe22727b369fbe36a5f2f23b3f474835
ae5319ehttps://github.com/phpstan/phpstan-src/commit/ae5319ee8060e58be0f1657679caaf716cfdef75
Compare https://github.com/phpstan/phpstan-src/compare/8ddd9c52fe22727b369fbe36a5f2f23b3f474835..ae5319ee8060e58be0f1657679caaf716cfdef75
November 12, 2026 21:50https://github.com/phpstan/phpstan-src/pull/6542#event-35965855140
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6542
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/6542/files/23e95442cb56c2a75e9d66d159231412f644207a
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6542
https://github.com/zonuexe
https://github.com/phpstan-bot
https://github.com/staabm
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.