|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2015-11-02 16:30 UTC] serhiy dot shkolyarenko at gmail dot com
Description: ------------ DateTimeZone::listIdentifiers() ignores second parameter. Attached script shows cities for the whole Europe, but not for Ukraine only. Checked for PHP versions 5.6.11 and 7.0.0-RC6. Test script: --------------- var_dump(DateTimeZone::listIdentifiers(DateTimeZone::EUROPE, 'UA')); PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 19:00:01 2025 UTC |
I think, updating documentation is enough. country A two-letter ISO 3166-1 compatible country code. Applicable when _what_ argument is DateTimeZone::PER_COUNTRY only. Example: //Show all timezones for US. DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY, 'US');