Skip to content

Zend: Various Refactorings (2026-08) - #23300

Open
LamentXU123 wants to merge 8 commits into
php:masterfrom
LamentXU123:Zend-ref
Open

Zend: Various Refactorings (2026-08)#23300
LamentXU123 wants to merge 8 commits into
php:masterfrom
LamentXU123:Zend-ref

Conversation

@LamentXU123

@LamentXU123 LamentXU123 commented Aug 15, 2026

Copy link
Copy Markdown
Member

I was trying to read the Zend/ code recently (especially object handlers cuz I am studying Zend GC). These modify is done when I am trying to make sense of the code and I believe this make things more sensible.

Commits should be reviewed separately.

@Girgias Girgias 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.

Those make sense to me.

}

if (UNEXPECTED((func = zend_hash_find(&zobj->ce->function_table, lc_method_name)) == NULL)) {
if (UNEXPECTED((fbc = zend_hash_find_ptr(&zobj->ce->function_table, lc_method_name)) == NULL)) {

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.

This assignment could be extracted out

@LamentXU123 LamentXU123 changed the title Zend: Various Refactorings (2026-07) Zend: Various Refactorings (2026-08) Aug 15, 2026
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