|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-06-25 11:19 UTC] mberchtold at gmail dot com
Description:
------------
Bug in IntlDateFormatter constructor
Test script:
---------------
<?php
new \IntlDateFormatter('en_US' /*\Locale::getDefault()*/, \IntlDateFormatter::FULL, \IntlDateFormatter::FULL);
Expected result:
----------------
no exception
Actual result:
--------------
IntlException: Constructor failed in
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 22:00:02 2025 UTC |
Are you testing with the 64-bit NTS version? This is the error from the sample script: [25-Jun-2017 12:34:17 utc] PHP Fatal error: Uncaught IntlException: Constructor failed in C:\Downloads\test.php:3 Stack trace: #0 C:\Downloads\test.php(3): IntlDateFormatter->__construct('en_US', 0, 0) #1 {main} thrown in C:\Downloads\test.php on line 3