Skip to content

Deprecate dynamic property creation #7390

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

Closed
wants to merge 2 commits into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Aug 20, 2021

What could possibly go wrong?

RFC: https://wiki.php.net/rfc/deprecate_dynamic_properties

TODO:

  • Finish updating tests.
  • JIT support.

@nikic nikic added the RFC label Aug 20, 2021
@mvorisek
Copy link
Contributor

mvorisek commented Oct 3, 2021

What will be the behaviour of isset($o->undefined)?

@bwoebi
Copy link
Member

bwoebi commented Oct 3, 2021

@mvorisek According to the code only writes are checked, i.e. isset() will continue returning false here.

@nikic
Copy link
Member Author

nikic commented Oct 4, 2021

That's right, isset() will silently return false, as usual.

@nikic
Copy link
Member Author

nikic commented Nov 26, 2021

This has been superseded by #7571.

@nikic nikic closed this Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants