Skip to content

Zend: refactor class lookup logic - #24277

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

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

Conversation

@Girgias

@Girgias Girgias commented Oct 12, 2026

Copy link
Copy Markdown
Member

Add a new zend_lookup_class_with_flags() API so that we can refactor zend_lookup_class_ex() to always require a lowercase class name, moving the class name lowercaseing code to an outer call.

This also adds assertions that the lowercase class name is usable as such, which would simplify the logic that I attempted in #24271

@Girgias
Girgias force-pushed the 2026-10-zend_lookup_class_flags branch from 6798e05 to 177286c Compare October 12, 2026 22:46
@Girgias
Girgias marked this pull request as ready for review October 13, 2026 00:00
@Girgias
Girgias requested review from bukka and dstogov as code owners October 13, 2026 00:00
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.

1 participant