Doc #65876 [Opn->Csd]: Missing third parameter in example

From: Date: Sat, 12 Oct 2013 22:58:50 +0000
Subject: Doc #65876 [Opn->Csd]: Missing third parameter in example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10475@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65876&edit=1 ID: 65876 Updated by: googleguy@php.net Reported by: php at dustingraham dot com Summary: Missing third parameter in example -Status: Open +Status: Closed Type: Documentation Problem Package: *General Issues PHP Version: Irrelevant -Assigned To: +Assigned To: googleguy Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2013-10-10 16:46:00] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65876&edit=1

« previous php.doc.bugs (#10475) next »