Test: /ext/intl/tests/bug62017.phpt - Version 5.5.0RC3        

Bug #62017 datefmt_create with incorrectly encoded timezone leaks pattern
Submitted: 2012-05-13 21:41:27 Modified: 2012-05-23 13:53:49
From: nikic Assigned: cataphract
Status: Closed Package: intl
PHP Version: master-Git-2012-05-13 (Git) OS:

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
002- NULL
003+ Fatal error: Uncaught exception 'IntlException' with message 'datefmt_create: Time zone identifier given is not a valid UTF-8 string' in %s/bug62017.php:5
004+ Stack trace:
004- Warning: IntlDateFormatter::__construct(): datefmt_create: error converting pattern to UTF-16 in %s on line %d
005- NULL
005+ #0 %s/bug62017.php(5): datefmt_create('', -1, -1, '?', 1, 'a')
006+ #1 {main}
007+ thrown in %s/bug62017.php on line 5