[php-src] PR #23072: ext/intl: Include <limits> for std::numeric_limits
| From: | LamentXU123 | Date: | Wed, 05 Aug 2026 15:31:03 +0000 |
| Subject: | [php-src] PR #23072: ext/intl: Include <limits> for std::numeric_limits | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37561@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23072
Author: LamentXU123
This fix https://github.com/php/php-src/pull/21101#issuecomment-5188586937
The bug is quite hidden. This line of code in the commit
```c
gcal->setGregorianChange(-std::numeric_limits<double>::infinity(), status);
```
Some extreme build environments happen to get std::numeric_limits through transitive includes. So we
need to put a Include <limits> manually