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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
php
/
php-src
Public
Notifications
You must be signed in to change notification settings
Fork
8.1k
Star
40.4k
Code
Issues
971
Pull requests
1.1k
Actions
Security and quality
52
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Implement typed properties
- #3734
#3734
Closed
nikic
wants to merge 56 commits into
php:master
php/php-src:master
from
nikic:typed_props
nikic/php-src:typed_props
Copy head branch name to clipboard
Conversation
Commits
56
(56)
Checks
Files changed
Closed
Implement typed properties
#3734
nikic
wants to merge 56 commits into
php:master
php/php-src:master
from
nikic:typed_props
nikic/php-src:typed_props
Copy head branch name to clipboard
Commits
Commits on Jan 10, 2019
Implement typed properties
Show description for 46fbe12
4 people
committed
46fbe12
View commit details
Copy full SHA for 46fbe12
Browse repository at this point
Remove redundant trailing newlines from tests
nikic
committed
973f8c5
View commit details
Copy full SHA for 973f8c5
Browse repository at this point
Coding style tweaks
nikic
committed
784aebe
View commit details
Copy full SHA for 784aebe
Browse repository at this point
Add test for typed properties on internal class
nikic
committed
ac6b431
View commit details
Copy full SHA for ac6b431
Browse repository at this point
Code cleanup
nikic
committed
d95f131
View commit details
Copy full SHA for d95f131
Browse repository at this point
Avoid direct uses of zend_try_assign API
Show description for 0395fe5
nikic
committed
0395fe5
View commit details
Copy full SHA for 0395fe5
Browse repository at this point
Remove alloc_polymorphic_cache_slots API
Show description for 37b3de6
nikic
committed
37b3de6
View commit details
Copy full SHA for 37b3de6
Browse repository at this point
Rename get_mangled_property_name to get_unmangled_property_name
Show description for 5e009e7
nikic
committed
5e009e7
View commit details
Copy full SHA for 5e009e7
Browse repository at this point
Cleanup code and add more trait + self tests
nikic
committed
9e82c5a
View commit details
Copy full SHA for 9e82c5a
Browse repository at this point
Restore exception
Show description for be0cfbb
nikic
committed
be0cfbb
View commit details
Copy full SHA for be0cfbb
Browse repository at this point
Remove requirement that reference sources must have resolved types
Show description for 9c55d73
nikic
committed
9c55d73
View commit details
Copy full SHA for 9c55d73
Browse repository at this point
Tweak assign_to_variable
Show description for 23bb53f
nikic
committed
23bb53f
View commit details
Copy full SHA for 23bb53f
Browse repository at this point
Remove dubious expectations
Show description for b4f5e11
nikic
committed
b4f5e11
View commit details
Copy full SHA for b4f5e11
Browse repository at this point
Move error generation into verify_property_type
Show description for f1d9f22
nikic
committed
f1d9f22
View commit details
Copy full SHA for f1d9f22
Browse repository at this point
Code cleanup
nikic
committed
117d1da
View commit details
Copy full SHA for 117d1da
Browse repository at this point
Check for incdec overflow if no refs are involved
Show description for 3923574
nikic
committed
3923574
View commit details
Copy full SHA for 3923574
Browse repository at this point
Prefer showing a property type error over a reference error
nikic
committed
be63cc1
View commit details
Copy full SHA for be63cc1
Browse repository at this point
Extract error code into cold function
Show description for 1282365
nikic
committed
1282365
View commit details
Copy full SHA for 1282365
Browse repository at this point
Code cleanup
nikic
committed
ee84e01
View commit details
Copy full SHA for ee84e01
Browse repository at this point
Fix handling of null vs undef in auto-vivification
nikic
committed
bc27695
View commit details
Copy full SHA for bc27695
Browse repository at this point
Fix hardcoded paths in tests
nikic
committed
ba09a1d
View commit details
Copy full SHA for ba09a1d
Browse repository at this point
Cleanup
nikic
committed
4e34d90
View commit details
Copy full SHA for 4e34d90
Browse repository at this point
More changes to initialization handling
Show description for dcefc11
nikic
committed
dcefc11
View commit details
Copy full SHA for dcefc11
Browse repository at this point
Inherit the HAS_TYPE_HINTS flag
nikic
committed
6cc4f84
View commit details
Copy full SHA for 6cc4f84
Browse repository at this point
Set HAS_TYPE_HINTS for static props as well
Show description for 3ae6f61
nikic
committed
3ae6f61
View commit details
Copy full SHA for 3ae6f61
Browse repository at this point
Reuse object flag code for static props
nikic
committed
e9ee417
View commit details
Copy full SHA for e9ee417
Browse repository at this point
Move TODO comment
nikic
committed
07b95d5
View commit details
Copy full SHA for 07b95d5
Browse repository at this point
In debug mode, we want to make sure that refs do have type sources
nikic
committed
c6bd1d9
View commit details
Copy full SHA for c6bd1d9
Browse repository at this point
Compile by-ref foreach with the by_ref flag
nikic
committed
f103983
View commit details
Copy full SHA for f103983
Browse repository at this point
Fix handling of private properties in foreach
Show description for 9fdb55d
nikic
committed
9fdb55d
View commit details
Copy full SHA for 9fdb55d
Browse repository at this point
Exit early for strict_types in verify_type_assignable_zval
Show description for 0245c68
nikic
committed
0245c68
View commit details
Copy full SHA for 0245c68
Browse repository at this point
Code cleanup
nikic
committed
9f2734a
View commit details
Copy full SHA for 9f2734a
Browse repository at this point
Remove dependence on zend_resolve_property_type
Show description for a427595
nikic
committed
a427595
View commit details
Copy full SHA for a427595
Browse repository at this point
Fix ref assignable with strict types
Show description for 1327829
nikic
committed
1327829
View commit details
Copy full SHA for 1327829
Browse repository at this point
Only use information from visible properties in opcache
Show description for 22dfc44
nikic
committed
22dfc44
View commit details
Copy full SHA for 22dfc44
Browse repository at this point
Make sure fetch_property_type_info is only used with valid offset
Show description for 90cfd7a
nikic
committed
90cfd7a
View commit details
Copy full SHA for 90cfd7a
Browse repository at this point
write_property value may not be REF
nikic
committed
dcc8ea8
View commit details
Copy full SHA for dcc8ea8
Browse repository at this point
Use faster API too look up property info in object handlers
Show description for cfd76b0
nikic
committed
cfd76b0
View commit details
Copy full SHA for cfd76b0
Browse repository at this point
Fix dumping of private uninitialized props
Show description for efbcbd6
nikic
committed
efbcbd6
View commit details
Copy full SHA for efbcbd6
Browse repository at this point
Move everything over to the slot API
Show description for bb3e82b
nikic
committed
bb3e82b
View commit details
Copy full SHA for bb3e82b
Browse repository at this point
Use slot API during cloning
Show description for 1005f92
nikic
committed
1005f92
View commit details
Copy full SHA for 1005f92
Browse repository at this point
Remove bogus DEREF
nikic
committed
88d966b
View commit details
Copy full SHA for 88d966b
Browse repository at this point
Remove unnecessary SEPARATE
nikic
committed
8b1a6a3
View commit details
Copy full SHA for 8b1a6a3
Browse repository at this point
Prefer checking type prior to modification
nikic
committed
d1ac734
View commit details
Copy full SHA for d1ac734
Browse repository at this point
Fix ref post incdec without type sources
nikic
committed
dc68354
View commit details
Copy full SHA for dc68354
Browse repository at this point
Remove manual ref sources initialization
nikic
committed
d7dbf11
View commit details
Copy full SHA for d7dbf11
Browse repository at this point
Property dump DIM_WRITE/OBJ_WRITE flags
nikic
committed
223cd77
View commit details
Copy full SHA for 223cd77
Browse repository at this point
Remove bogus PARAM_ZVAL_DEREF
Show description for 5b7a5b0
nikic
committed
5b7a5b0
View commit details
Copy full SHA for 5b7a5b0
Browse repository at this point
Convert checks to assertions
nikic
committed
df34631
View commit details
Copy full SHA for df34631
Browse repository at this point
Use slot API in unserialization
Show description for fa59a56
nikic
committed
fa59a56
View commit details
Copy full SHA for fa59a56
Browse repository at this point
Fetch class types in property hints in opcache
Show description for 26139a4
nikic
committed
26139a4
View commit details
Copy full SHA for 26139a4
Browse repository at this point
Move ASSIGN_OBJ_REF to the right place
nikic
committed
4eec659
View commit details
Copy full SHA for 4eec659
Browse repository at this point
Support typed properties in opcache file cache
nikic
committed
e6510a5
View commit details
Copy full SHA for e6510a5
Browse repository at this point
Also handle CE types in persistence
Show description for 8264d27
nikic
committed
8264d27
View commit details
Copy full SHA for 8264d27
Browse repository at this point
Add UPGRADING entry
nikic
committed
6150ddd
View commit details
Copy full SHA for 6150ddd
Browse repository at this point
Add UPGRADING.INTERNALS notes
nikic
committed
7e7b446
View commit details
Copy full SHA for 7e7b446
Browse repository at this point
You can’t perform that action at this time.