René's URL Explorer Experiment


Title: Apply the effects of a closure's by-ref uses where it is invoked by ondrejmirtes · Pull Request #6610 · phpstan/phpstan-src · GitHub

Open Graph Title: Apply the effects of a closure's by-ref uses where it is invoked by ondrejmirtes · Pull Request #6610 · phpstan/phpstan-src

X Title: Apply the effects of a closure's by-ref uses where it is invoked by ondrejmirtes · Pull Request #6610 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Apply the effects of a closure's by-ref uses where it is invoked by ondrejmirtes · Pull Request #6610 · phpstan/phpstan-src

Open Graph Description: A closure with use (&$x) is analysed today once, at its creation, with a fixpoint entry: $x is the union of every state any number of runs could leave, both inside the body and outside from the...

X Description: A closure with use (&$x) is analysed today once, at its creation, with a fixpoint entry: $x is the union of every state any number of runs could leave, both inside the body and outside from...

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

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:2bf0a4d6-261a-ce05-8d23-b188f7798d98
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBFDC:2BE220:B52E51:F3853A:6B00F501
html-safe-noncebeea957a1dc40077d90eabaff0ff03164383dfe7df30dfb6a811ee81d33fe790
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkRDOjJCRTIyMDpCNTJFNTE6RjM4NTNBOjZCMDBGNTAxIiwidmlzaXRvcl9pZCI6Ijc3MzM2NTk0NzUyMzE0MzgwODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac71dec224135e78e86f0e283c6b912968b91112a5022fe9042be113d43de504bb
hovercard-subject-tagpull_request:4651356992
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/6610/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6778e8aed97509d03a61915ebd227e0943832ac6785257d824ea2099b7b4a4cd/phpstan/phpstan-src/pull/6610
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6778e8aed97509d03a61915ebd227e0943832ac6785257d824ea2099b7b4a4cd/phpstan/phpstan-src/pull/6610
og:image:altA closure with use (&$x) is analysed today once, at its creation, with a fixpoint entry: $x is the union of every state any number of runs could leave, both inside the body and outside from the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameondrejmirtes
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6610#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6610
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%2F6610
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/6610
Reloadhttps://github.com/phpstan/phpstan-src/pull/6610
Reloadhttps://github.com/phpstan/phpstan-src/pull/6610
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
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
closure-byref-uses-at-invocationhttps://github.com/phpstan/phpstan-src/tree/closure-byref-uses-at-invocation
Conversationhttps://github.com/phpstan/phpstan-src/pull/6610
Commits3 (3)https://github.com/phpstan/phpstan-src/pull/6610/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6610/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6610/files
Apply the effects of a closure's by-ref uses where it is invokedhttps://github.com/phpstan/phpstan-src/pull/6610#top
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
closure-byref-uses-at-invocationhttps://github.com/phpstan/phpstan-src/tree/closure-byref-uses-at-invocation
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6610#issue-5599401052
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6610
#6332https://github.com/phpstan/phpstan-src/pull/6332
#6604https://github.com/phpstan/phpstan-src/pull/6604
Infer signatures of closures from where their values are sent #6604https://github.com/phpstan/phpstan-src/pull/6604
Infer signatures of closures from where their values are sent #6604https://github.com/phpstan/phpstan-src/pull/6604
#6604https://github.com/phpstan/phpstan-src/pull/6604
phpstan/phpstan#7751https://github.com/phpstan/phpstan/issues/7751
phpstan/phpstan#14248https://github.com/phpstan/phpstan/issues/14248
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01VpbB99tJfUmeArX74xqvHvhttps://claude.ai/code/session_01VpbB99tJfUmeArX74xqvHv
#6604https://github.com/phpstan/phpstan-src/pull/6604
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6610
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/02e504d661479d13765cac1abd954f0d14513d8a..e31e14e315a6f7f95e4ac84afeb8a82d888cf86c
02e504dhttps://github.com/phpstan/phpstan-src/commit/02e504d661479d13765cac1abd954f0d14513d8a
e31e14ehttps://github.com/phpstan/phpstan-src/commit/e31e14e315a6f7f95e4ac84afeb8a82d888cf86c
Compare https://github.com/phpstan/phpstan-src/compare/02e504d661479d13765cac1abd954f0d14513d8a..e31e14e315a6f7f95e4ac84afeb8a82d888cf86c
September 27, 2026 10:41https://github.com/phpstan/phpstan-src/pull/6610#event-31927375820
September 27, 2026 10:45https://github.com/phpstan/phpstan-src/pull/6610#event-31927487895
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/8176e9ff72896537437eef959cd71868a195ccc9..3bd8a5ea0d57ec8c91e3998b6c3f3dd6c7c7656f
8176e9fhttps://github.com/phpstan/phpstan-src/commit/8176e9ff72896537437eef959cd71868a195ccc9
3bd8a5ehttps://github.com/phpstan/phpstan-src/commit/3bd8a5ea0d57ec8c91e3998b6c3f3dd6c7c7656f
Compare https://github.com/phpstan/phpstan-src/compare/8176e9ff72896537437eef959cd71868a195ccc9..3bd8a5ea0d57ec8c91e3998b6c3f3dd6c7c7656f
September 27, 2026 10:53https://github.com/phpstan/phpstan-src/pull/6610#event-31927686743
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
September 27, 2026 11:47https://github.com/phpstan/phpstan-src/pull/6610#event-31929205055
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6610#issuecomment-5855550852
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6610
ondrejmirteshttps://github.com/ondrejmirtes
September 27, 2026 13:48https://github.com/phpstan/phpstan-src/pull/6610#commits-pushed-a5324bf
https://github.com/ondrejmirtes
https://github.com/claude
Apply the effects of a closure's by-ref uses where it is invokedhttps://github.com/phpstan/phpstan-src/pull/6610/commits/a5324bfc2c89cedb69a87d75e425f847af6c78f1
a5324bfhttps://github.com/phpstan/phpstan-src/pull/6610/commits/a5324bfc2c89cedb69a87d75e425f847af6c78f1
https://claude.ai/code/session_01VpbB99tJfUmeArX74xqvHvhttps://claude.ai/code/session_01VpbB99tJfUmeArX74xqvHv
https://github.com/ondrejmirtes
https://github.com/claude
Add regression tests for closures with by-ref uses invoked later in a…https://github.com/phpstan/phpstan-src/pull/6610/commits/40fbdb395bbff32b44a87a90a7daba529fb16699
40fbdb3https://github.com/phpstan/phpstan-src/pull/6610/commits/40fbdb395bbff32b44a87a90a7daba529fb16699
https://claude.ai/code/session_01VpbB99tJfUmeArX74xqvHvhttps://claude.ai/code/session_01VpbB99tJfUmeArX74xqvHv
https://github.com/ondrejmirtes
Bump expected turbo versionhttps://github.com/phpstan/phpstan-src/pull/6610/commits/6e1ba3672486c5bd7aac4e1893b6fa07f42f2b6e
6e1ba36https://github.com/phpstan/phpstan-src/pull/6610/commits/6e1ba3672486c5bd7aac4e1893b6fa07f42f2b6e
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/3bd8a5ea0d57ec8c91e3998b6c3f3dd6c7c7656f..6e1ba3672486c5bd7aac4e1893b6fa07f42f2b6e
3bd8a5ehttps://github.com/phpstan/phpstan-src/commit/3bd8a5ea0d57ec8c91e3998b6c3f3dd6c7c7656f
6e1ba36https://github.com/phpstan/phpstan-src/commit/6e1ba3672486c5bd7aac4e1893b6fa07f42f2b6e
Compare https://github.com/phpstan/phpstan-src/compare/3bd8a5ea0d57ec8c91e3998b6c3f3dd6c7c7656f..6e1ba3672486c5bd7aac4e1893b6fa07f42f2b6e
September 27, 2026 11:48https://github.com/phpstan/phpstan-src/pull/6610#event-31929248587
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
6e1ba36https://github.com/phpstan/phpstan-src/commit/6e1ba3672486c5bd7aac4e1893b6fa07f42f2b6e
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6610#event-31929396836
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6610
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
September 27, 2026 11:54https://github.com/phpstan/phpstan-src/pull/6610#event-31929397474
Infer the type of a static variable from what the function body does with it #6617 https://github.com/phpstan/phpstan-src/pull/6617
Close soundness holes in closure signature inference #6622 https://github.com/phpstan/phpstan-src/pull/6622
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Sep 28, 2026 https://github.com/phpstan/phpstan-src/pull/6610#ref-issue-5615884036
2.3.x-dev: internal error "The initial type of an unresolved template argument is never itself unresolved" (unresolvedTemplateArguments) phpstan/phpstan#15331 https://github.com/phpstan/phpstan/issues/15331
https://github.com/janedbal
janedbalhttps://github.com/janedbal
Oct 6, 2026 https://github.com/phpstan/phpstan-src/pull/6610#ref-issue-5726453335
in_array() narrowing drops the list flag from a list shape with optional keys (regression in 2.1.41) phpstan/phpstan#15391 https://github.com/phpstan/phpstan/issues/15391
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%2F6610
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6610
Variable is changing but PHPStan doesn't see that https://github.com/phpstan/phpstan/issues/14248
PHPStan insists a use variable by reference cannot change types https://github.com/phpstan/phpstan/issues/7751
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6610
https://github.com/ondrejmirtes
https://github.com/phpstan-bot
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.