Skip to content

reflection: various minor refactorings (2026-10 n1) - #24039

Open
Girgias wants to merge 5 commits into
php:masterfrom
Girgias:2026-10-reflection-refactoring1
Open

Girgias wants to merge 5 commits into
php:masterfrom
Girgias:2026-10-reflection-refactoring1

Conversation

@Girgias

@Girgias Girgias commented Oct 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@DanielEScherzer DanielEScherzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Everything looks okay, but I'm wondering about the reflection_prop_class and _name changes - what is the future refactoring going to look like? This seems to result in duplicating a lot of Z_OBJ_P uses

@Girgias

Girgias commented Oct 11, 2026

Copy link
Copy Markdown
Member Author

The future refactoring will be to use the new APIs introduced by #24135 to convert object_init_ex calls to zend_object_init which would return zend_object* directly, getting rid of the zvals and Z_OBJ_P macros.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants