[php-src] PR #25668: ext/intl: Reject non-finite timestamps in IntlCalendar::setTime()

From: Date: Mon, 23 Nov 2026 11:02:13 +0000
Subject: [php-src] PR #25668: ext/intl: Reject non-finite timestamps in IntlCalendar::setTime()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40921@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25668 Author: LamentXU123 ```php <?php $cal = IntlCalendar::createInstance('UTC'); $cal->setTime(0); var_dump($cal->setTime(INF)); var_dump($cal->getTime() === 0.0); ``` This is now true. However, IntlCalendar should not accept (-)INF anyways. This is originally reported by @wwkenwong

« previous php.git-pulls (#40921) next »