Cross-reference https://wiki.php.net/rfc/warnings-php-8-5#coercing_nan_to_other_types
- mediawiki/core (47e8bf1baf66) locally, running PHP 8.5
- composer phpunit:entrypoint -- --filter LanguageIntegrationTest
1) MediaWiki\Tests\Language\LanguageIntegrationTest::testFormatNum with data set #34 (true, 'en', NAN, false, 'Not a Number')
unexpected NAN value was coerced to string
/[...]/mediawiki/core/includes/Language/Language.php:3543
/[...]/mediawiki/core/tests/phpunit/includes/Language/LanguageIntegrationTest.php:2052
2) MediaWiki\Tests\Language\LanguageIntegrationTest::testParseFormattedNumber with data set #11 ('en', NAN)
unexpected NAN value was coerced to string
/[...]/mediawiki/core/includes/Language/Language.php:3543
/[...]/mediawiki/core/tests/phpunit/includes/Language/LanguageIntegrationTest.php:2134(note: not yet seen in WMF experimental CI due to the order in which it runs MediaWiki's PHPUnit tests, but it presumably would be seen there at some point)