[php-src] PR #22236: ext/intl: Fix ResourceBundle fallback-disabled error message
| From: | LamentXU123 | Date: | Fri, 05 Jun 2026 17:05:57 +0000 |
| Subject: | [php-src] PR #22236: ext/intl: Fix ResourceBundle fallback-disabled error message | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36312@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22236
Author: LamentXU123
When ResourceBundle::get() rejects fallback results when fallback is disabled
Original error message:
```
Cannot load element %d without fallback from to %s
```
It should be
```
Cannot load element %d without fallback to %s
```
I also change the declaration line of
icuerror to make it initialized. Not sure if this
worth NEWS and UPGRADING entries but I am targeting master as this is actually a typo fix.