Bug #70838 [NEW]: DateTimeZone::listIdentifiers() ignores parameter $country
From: serhiy dot shkolyarenko at gmail dot com
Operating system: any
PHP version: 5.6.15
Package: Date/time related
Bug Type: Bug
Bug description:DateTimeZone::listIdentifiers() ignores parameter $country
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'));
--
Edit bug report at https://bugs.php.net/bug.php?id=70838&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70838&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70838&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70838&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70838&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70838&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70838&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70838&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70838&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70838&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70838&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70838&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70838&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70838&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70838&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70838&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70838&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70838&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70838&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70838&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70838&r=mysqlcfg
Thread (4 messages)
- serhiy dot shkolyarenko at gmail dot com