Doc #78484 [Ver->Csd]: Missing constructor error
| From: | cmb@php.net | Date: | Sun, 13 Oct 2019 16:50:30 +0000 |
| Subject: | Doc #78484 [Ver->Csd]: Missing constructor error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17010@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78484&edit=1
ID: 78484
Updated by: cmb@php.net
Reported by: syl dot fabre at gmail dot com
Summary: Missing constructor error
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: intl
Operating System: Ubuntu WSL
PHP Version: 7.2.22
-Assigned To: c b
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2019-10-13 16:50:07] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348154
Log: Fix #78484: Missing constructor error
------------------------------------------------------------------------
[2019-09-03 12:17:04] cmb@php.net
ACK, doc bug.
------------------------------------------------------------------------
[2019-09-02 14:14:10] syl dot fabre at gmail dot com
Description:
------------
---
From manual page: https://php.net/messageformatter.create
---
Using this code:
new MessageFormatter('fr_FR', '');
We get an error: IntlException: Constructor failed
This is not documented
Test script:
---------------
new MessageFormatter('fr_FR', '');
Actual result:
--------------
Either:
- the error is a bug
- the error is expected and should be documented
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78484&edit=1