Skip to content

Don't skip uninitialized typed props in get_class_vars() #4463

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 1 commit into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Jul 23, 2019

For https://bugs.php.net/bug.php?id=78319.

@bwoebi Not great, but this probably makes more sense than having these properties missing entirely?

Copy link
Contributor

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me thanks!

@bwoebi
Copy link
Member

bwoebi commented Jul 23, 2019

I think this is the best middle-way to have some function getting the information. I also agree that it wouldn't be great to change Reflection as it should be most accurate.

@nikic
Copy link
Member Author

nikic commented Jul 24, 2019

Merged as a49d53b.

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

Successfully merging this pull request may close these issues.

3 participants