#51130 [Opn->Csd]: Double semicolon in example on Anonymous functions

From: Date: Wed, 24 Feb 2010 09:00:47 +0000
Subject: #51130 [Opn->Csd]: Double semicolon in example on Anonymous functions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3964@lists.php.net to get a copy of this message
ID: 51130 Updated by: degeberg@php.net Reported By: nmrugg at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-02-24 09:00:22] svn@php.net Automatic comment from SVN on behalf of degeberg Revision: http://svn.php.net/viewvc/?view=revision&revision=295456 Log: Corrected example (fixed PHP bug #51130) ------------------------------------------------------------------------ [2010-02-24 05:57:22] nmrugg at gmail dot com Description: ------------ On the "Anonymous functions" manual page, line 38 of example #3 has two semicolons at the end of it. I believe that this is a typo and that there should just be one semicolon. Currently, it reads: return round($total, 2);; I think it should read: return round($total, 2); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=51130&edit=1

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