Doc #78484 [Opn->Ver]: Missing constructor error
| From: | cmb@php.net | Date: | Tue, 03 Sep 2019 12:17:04 +0000 |
| Subject: | Doc #78484 [Opn->Ver]: Missing constructor error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16924@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: Open
+Status: Verified
Type: Documentation Problem
-Package: *Languages/Translation
+Package: intl
Operating System: Ubuntu WSL
PHP Version: 7.2.22
Block user comment: N
Private report: N
New Comment:
ACK, doc bug.
Previous Comments:
------------------------------------------------------------------------
[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