Skip to content

Throw when trying to modify property of non-object #4745

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 Sep 26, 2019

Part of https://wiki.php.net/rfc/engine_warnings.

This removed object auto-vivification support. This comes with some nice simplifications, in particular we no longer have to deal with implicit null/false/"" to stdClass conversions with typed properties, and OBJ_* opcodes no longer def op1 SSA vars.

@nikic
Copy link
Member Author

nikic commented Sep 27, 2019

Merged as a66c60c.

@nikic nikic closed this Sep 27, 2019
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
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.

2 participants