Skip to content

Use zend_hash_find_ptr_lc() for case-insensitive name lookups - #22591

Merged
Girgias merged 3 commits into
php:masterfrom
jorgsowa:jorgsowa/hash-find-ptr-lc-batch2
Aug 3, 2026
Merged

Use zend_hash_find_ptr_lc() for case-insensitive name lookups#22591
Girgias merged 3 commits into
php:masterfrom
jorgsowa:jorgsowa/hash-find-ptr-lc-batch2

Conversation

@jorgsowa

@jorgsowa jorgsowa commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Continues #22565 for four sites that were missed: _class_exists_impl(), function_exists(), pdo_stmt.c's dbstmt_method_get(), ReflectionClass:: hasMethod()/getMethod(), and phpdbg's print func/method commands. No behavior change.

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

Except the reflection changes, makes sense.

Comment thread ext/reflection/php_reflection.c
@jorgsowa
jorgsowa requested a review from Girgias July 8, 2026 16:07
@jorgsowa
jorgsowa force-pushed the jorgsowa/hash-find-ptr-lc-batch2 branch 2 times, most recently from d4f63f7 to 3c9862b Compare July 10, 2026 21:36
@jorgsowa
jorgsowa force-pushed the jorgsowa/hash-find-ptr-lc-batch2 branch from 3c9862b to a774713 Compare July 18, 2026 21:31

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

only reviewed ext/reflection

Comment thread ext/reflection/php_reflection.c Outdated

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

okay for ext/reflection

jorgsowa added 3 commits July 31, 2026 17:09
Continues php#22565 for four sites that were missed: _class_exists_impl(),
function_exists(), pdo_stmt.c's dbstmt_method_get(), ReflectionClass::
hasMethod()/getMethod(), and phpdbg's print func/method commands. No
behavior change.
@jorgsowa
jorgsowa force-pushed the jorgsowa/hash-find-ptr-lc-batch2 branch from 4c0fa43 to a79690c Compare July 31, 2026 15:09

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

still okay for ext/reflection

@jorgsowa

Copy link
Copy Markdown
Contributor Author

Can this PR be merged @Girgias ? The reflection part was adjusted.

@Girgias
Girgias merged commit 87b510b into php:master Aug 3, 2026
18 checks passed
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.

3 participants