|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75318 The parameter of UConverter::getAliases() is not optional
Submitted: 2017-10-05 13:41 UTC Modified: 2017-10-06 14:13 UTC
From: fabien dot villepinte at gmail dot com Assigned: cmb (profile)
Status: Closed Package: intl (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
18 - 8 = ?
Subscribe to this entry?

 [2017-10-05 13:41 UTC] fabien dot villepinte at gmail dot com
According the documentation ( ) the parameter $name of UConverter::getAliases() is optional, but we get a warning if we call this method with no parameter ( ).

The parameter should be documented as mandatory.

Test script:

Actual result:
Warning: UConverter::getAliases() expects exactly 1 parameter, 0 given in /in/ERNFW on line 2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-06 14:05 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2017-10-06 14:05 UTC]
Not only the documentation is wrong, but also the reflection, see
 [2017-10-06 14:13 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix bug #75318: The parameter of UConverter::getAliases() is not optional
 [2017-10-06 14:13 UTC]
-Type: Documentation Problem +Type: Bug
 [2017-10-06 15:25 UTC]
Automatic comment on behalf of
Log: Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
 [2017-10-06 15:25 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 15 10:01:26 2019 UTC