Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typed Properties #3313

wants to merge 420 commits into from

Typed Properties #3313

wants to merge 420 commits into from


Copy link

@nikic nikic commented Jun 20, 2018

This is the implementation for the new typed properties RFC.

The implementation is not quite ready for review yet, there are still a number of open issues and some behavior edge-cases regarding references may still change.

dstogov added 30 commits May 25, 2016 10:45
…d_object_fetch_property_type_info_ex() into zend_object_fetch_property_type_info()
* master:
  update NEWS
  Expose missing flags from libzip at least >= 0.11.x
  Fix typo in phpdbg help.
  Add missing newlines to phpdbg's help for the run command.
  Skip test which is 64bits only
  update NEWS
  fix test portability
  prepare for 5.6.22RC1
We also have to remove ref sources for the immutable class case.
This is handled by the calling code in this case.
Also fix a bug in inference for object properties: We must check
that it's a non-static property, otherwise null becomes an additional
valid return value.
Based on reviewer comment.
This reverts commit 0cc95b8.

This has already been fixed in a different way in
3b830cf and is unrelated to
typed properties...
Still needs more work to make the assignment successful in more
Taken from PR php#3573, minus the foreach/iteration parts.
Copy link
Member Author

nikic commented Jan 7, 2019

Closing this PR in favor of #3734, which is the same thing but squashed.

@nikic nikic closed this Jan 7, 2019
php-pulls pushed a commit that referenced this pull request Jan 11, 2019

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <>
Co-authored-by: Joe Watkins <>
Co-authored-by: Dmitry Stogov <>
Copy link

ice6 commented Apr 3, 2020

what an improvement!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet