[php-src] PR #25965: ext/intl: Add IntlNumberFormatter::toSkeleton()
| From: | LamentXU123 | Date: | Mon, 30 Nov 2026 17:25:18 +0000 |
| Subject: | [php-src] PR #25965: ext/intl: Add IntlNumberFormatter::toSkeleton() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41273@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25965
Author: LamentXU123
btw It is possible for this function to return false
```
$f = IntlNumberFormatter::createFromSkeleton(str_repeat('@', 1000), 'en_US');
var_dump($f instanceof IntlNumberFormatter); // bool(true)
var_dump($f->toSkeleton()); // bool(false)
echo intl_error_name($f->getErrorCode()); // U_NUMBER_ARG_OUTOFBOUNDS_ERROR
```