[php-src] PR #22601: ext/Intl: Add `UNEXPECTED()` in obvious error path
| From: | LamentXU123 | Date: | Sun, 05 Jul 2026 05:30:35 +0000 |
| Subject: | [php-src] PR #22601: ext/Intl: Add `UNEXPECTED()` in obvious error path | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36840@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22601
Author: LamentXU123
The intl extension seems to have little use of the
UNEXPECTED macro which provides
optimization. I have chosen these places in the PR to add UNEXPECTED macros only when
the situation is very, very clear that those places are unexpected error places (which should be
easy to review :) ) but that means some controversial places are remained. Feel free to pick these
up if anyone wants to :)