Skip to content

Zend: refactor zend_parse_arg_impl() to return zend_expected_type - #23052

Draft
Girgias wants to merge 5 commits into
php:masterfrom
Girgias:2026-08-old-zpp-use-error-msg
Draft

Zend: refactor zend_parse_arg_impl() to return zend_expected_type#23052
Girgias wants to merge 5 commits into
php:masterfrom
Girgias:2026-08-old-zpp-use-error-msg

Conversation

@Girgias

@GirgiasGirgias commented Aug 4, 2026

Copy link
Copy Markdown
Member

This effectively mimics part of what Fast ZPP does and allows us to re-use the fast ZPP error APIs

I have actually continued refactoring this to the logical conclusion, but happy to split the latter bits into separate PRs so this is more easily review-able.

This effectively mimics part of what Fast ZPP does and allows us to re-use the fast ZPP error APIs
And stop throwing the exceptions directly
Means we restored back the original error message behaviour that's possibly not ideal
Removing the usage of zpp_error and allowing 'slow' ZPP to reuse the error logic
Sign up for freeto 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

@Girgias