|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-22 14:28 UTC] danack@php.net
-Status: Open
+Status: Feedback
[2015-05-22 14:28 UTC] danack@php.net
[2015-05-31 04:22 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Description: ------------ For some timezones IntlDateFormatter returns null instead of instance. Test script: --------------- foreach (\DateTimeZone::listIdentifiers() as $timezone) { $formatter = new \IntlDateFormatter( 'en_US', 1, 1, $timezone, null, null ); if (null === $formatter) { echo $timezone . PHP_EOL; } } Expected result: ---------------- Output is empty Actual result: -------------- Antarctica/Troll Asia/Chita Asia/Srednekolymsk Pacific/Bougainville