Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
swoole
/
typephp
Public
Notifications
You must be signed in to change notification settings
Fork
77
Star
1.4k
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
feat(closure): closure parameter type narrowing from call-site literals
- #103
#103
Closed
yuan-dian
wants to merge 11 commits into
swoole:master
swoole/typephp:master
from
yuan-dian:closure-type-narrowing-v2
yuan-dian/typephp:closure-type-narrowing-v2
Copy head branch name to clipboard
Conversation
Commits
11
(11)
Checks
Files changed
Closed
feat(closure): closure parameter type narrowing from call-site literals
#103
yuan-dian
wants to merge 11 commits into
swoole:master
swoole/typephp:master
from
yuan-dian:closure-type-narrowing-v2
yuan-dian/typephp:closure-type-narrowing-v2
Copy head branch name to clipboard
Commits
Commits on Sep 9, 2026
feat(closure): add closure parameter type narrowing from call-site literals
Show description for a3dca97
yuan-dian
committed
a3dca97
View commit details
Copy full SHA for a3dca97
Browse repository at this point
fix(test): fix PHPT test for closure type narrowing
Show description for c5b2e35
yuan-dian
committed
c5b2e35
View commit details
Copy full SHA for c5b2e35
Browse repository at this point
fix(test): add missing ?> closing tag in PHPT test
Show description for a6bb03a
yuan-dian
committed
a6bb03a
View commit details
Copy full SHA for a6bb03a
Browse repository at this point
Commits on Sep 11, 2026
feat(closure): rewrite closure parameter type narrowing v2
Show description for e303b9b
yuan-dian
committed
e303b9b
View commit details
Copy full SHA for e303b9b
Browse repository at this point
fix(closure): rename loop variable to avoid type conflict in self-compilation
Show description for 5ecb725
yuan-dian
committed
5ecb725
View commit details
Copy full SHA for 5ecb725
Browse repository at this point
Commits on Sep 12, 2026
fix(closure): fallback array/object/class params and Variant-returning expressions to VAR
Show description for b5a8cbf
yuan-dian
committed
b5a8cbf
View commit details
Copy full SHA for b5a8cbf
Browse repository at this point
fix(closure): narrow % with float and varint float ops to VAR
Show description for 8e94301
yuan-dian
committed
8e94301
View commit details
Copy full SHA for 8e94301
Browse repository at this point
Commits on Sep 15, 2026
fix(closure): implement ABI whitelist + two-phase binding for closure param type checks
Show description for 46ed07a
yuan-dian
committed
46ed07a
View commit details
Copy full SHA for 46ed07a
Browse repository at this point
fix(closure): enforce type checks for simple scalar types in Zend closure path
Show description for 620436e
yuan-dian
committed
620436e
View commit details
Copy full SHA for 620436e
Browse repository at this point
chore(closure): simplify comments in ClosureGenerator and TypeCheckGenerator
yuan-dian
committed
cb23e09
View commit details
Copy full SHA for cb23e09
Browse repository at this point
test(closure): add 8 PHPT compile-run tests for closure param type checks
Show description for 0b8f051
yuan-dian
committed
0b8f051
View commit details
Copy full SHA for 0b8f051
Browse repository at this point
You can’t perform that action at this time.