php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65876 Missing third parameter in example
Submitted: 2013-10-10 16:46 UTC Modified: 2013-10-12 22:58 UTC
From: php at dustingraham dot com Assigned: googleguy (profile)
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-10-10 16:46 UTC] php at dustingraham dot com
Description:
------------
---
From manual page: http://www.php.net/locale.lookup#refsect1-locale.lookup-examples
---

The third parameter should be "false" and the default value goes in the fourth parameter. This example shows a default value in the third parameter which will (and did to me) mislead people into thinking they have a default value set.




Patches

bug-65876-locale.diff (last revision 2013-10-12 21:56 UTC by dean at deansas dot org)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-12 22:58 UTC] googleguy@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: googleguy
 [2013-10-12 22:58 UTC] googleguy@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 02:01:33 2024 UTC