php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78484 Missing constructor error
Submitted: 2019-09-02 14:14 UTC Modified: 2019-10-13 16:50 UTC
From: syl dot fabre at gmail dot com Assigned: cmb (profile)
Status: Closed Package: intl (PECL)
PHP Version: 7.2.22 OS: Ubuntu WSL
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: syl dot fabre at gmail dot com
New email:
PHP Version: OS:

 

 [2019-09-02 14:14 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-03 12:17 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: *Languages/Translation +Package: intl
 [2019-09-03 12:17 UTC] cmb@php.net
ACK, doc bug.
 [2019-10-13 16:50 UTC] 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-10-13 16:50 UTC] cmb@php.net
-Assigned To: +Assigned To: c b
 [2019-10-13 16:50 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: c b +Assigned To: cmb
 [2019-10-13 16:55 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=49e7c575f7e59f67556e9c9dcf09d403cc8c68a6
Log: Fix #78484: Missing constructor error
 [2020-02-07 06:04 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=0332551080a7e20d6fd7fd4d8dd936b814bd0dff
Log: Fix #78484: Missing constructor error
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC