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

@Girgias Girgias 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
Girgias added 3 commits August 4, 2026 23:56
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
@Girgias
Girgias force-pushed the 2026-08-old-zpp-use-error-msg branch from feae6eb to c471e54 Compare August 5, 2026 00:59
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