René's URL Explorer Experiment


Title: Allow to cast resource to float by VincentLanglet · Pull Request #4314 · phpstan/phpstan-src · GitHub

Open Graph Title: Allow to cast resource to float by VincentLanglet · Pull Request #4314 · phpstan/phpstan-src

X Title: Allow to cast resource to float by VincentLanglet · Pull Request #4314 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Allow to cast resource to float by VincentLanglet · Pull Request #4314 · phpstan/phpstan-src

Open Graph Description: Part of phpstan/phpstan#6560 but not all, (I leave phpstan/phpstan#6560 (comment)) #4152 was wrong, since we can cast a resource to float the same way we can cast it to int.

X Description: Part of phpstan/phpstan#6560 but not all, (I leave phpstan/phpstan#6560 (comment)) #4152 was wrong, since we can cast a resource to float the same way we can cast it to int.

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

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:f7173c53-c48a-ceba-9153-1fab27a8788f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD30E:13A091:2C3AD4:3ACF1D:6B00C1C0
html-safe-nonce386c1f6f798cd1f765af198f20228f90663a590888a8565d5ba6321a983c120c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzBFOjEzQTA5MToyQzNBRDQ6M0FDRjFEOjZCMDBDMUMwIiwidmlzaXRvcl9pZCI6IjIwMzI1MDMzMTIyNDIyMjk2OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac10913ca64d94d363c6e7b5fd1920409860084c7b0b58b6dff3f4c9887e5e6a9e
hovercard-subject-tagpull_request:2814989705
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/4314/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/50b5d3731e5c055112c641d1f01f83e6710ceab23b47af2be485662dc4a76b19/phpstan/phpstan-src/pull/4314
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50b5d3731e5c055112c641d1f01f83e6710ceab23b47af2be485662dc4a76b19/phpstan/phpstan-src/pull/4314
og:image:altPart of phpstan/phpstan#6560 but not all, (I leave phpstan/phpstan#6560 (comment)) #4152 was wrong, since we can cast a resource to float the same way we can cast it to int.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVincentLanglet
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
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
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/4314#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4314
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%2F4314
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/4314
Reloadhttps://github.com/phpstan/phpstan-src/pull/4314
Reloadhttps://github.com/phpstan/phpstan-src/pull/4314
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests186 (186)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
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
VincentLanglet:resourceToFloathttps://github.com/VincentLanglet/phpstan-src/tree/resourceToFloat
Conversationhttps://github.com/phpstan/phpstan-src/pull/4314
Commits1 (1)https://github.com/phpstan/phpstan-src/pull/4314/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/4314/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/4314/files
Allow to cast resource to floathttps://github.com/phpstan/phpstan-src/pull/4314#top
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
VincentLanglet:resourceToFloathttps://github.com/VincentLanglet/phpstan-src/tree/resourceToFloat
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Sep 10, 2025https://github.com/phpstan/phpstan-src/pull/4314#issue-3401877804
phpstan/phpstan#6560https://github.com/phpstan/phpstan/issues/6560
phpstan/phpstan#6560 (comment)https://github.com/phpstan/phpstan/issues/6560#issuecomment-3274299888
#4152https://github.com/phpstan/phpstan-src/pull/4152
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4314
https://github.com/VincentLanglet
Allow to cast resource to floathttps://github.com/phpstan/phpstan-src/pull/4314/commits/dcd32fee4c952d338947b530292dcaa25dffedc9
dcd32fehttps://github.com/phpstan/phpstan-src/pull/4314/commits/dcd32fee4c952d338947b530292dcaa25dffedc9
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Sep 10, 2025 https://github.com/phpstan/phpstan-src/pull/4314#ref-pullrequest-3257302529
More precise intval and floatval signature #4152 https://github.com/phpstan/phpstan-src/pull/4152
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
b9f5f12https://github.com/phpstan/phpstan-src/commit/b9f5f125e176e54b8878c5336194e85511a6e1a5
Sep 12, 2025https://github.com/phpstan/phpstan-src/pull/4314#event-19654501583
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 12, 2025https://github.com/phpstan/phpstan-src/pull/4314#issuecomment-3284205923
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4314
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%2F4314
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4314
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4314
https://github.com/VincentLanglet
https://github.com/ondrejmirtes
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.