#50782 [Opn->Csd]: Description of the return value doesn't not match with the example code

From: Date: Sat, 16 Jan 2010 22:27:50 +0000
Subject: #50782 [Opn->Csd]: Description of the return value doesn't not match with the example code
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3723@lists.php.net to get a copy of this message
ID: 50782 Updated by: bjori@php.net Reported By: AhmedHan at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant 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-01-16 22:27:40] svn@php.net Automatic comment from SVN on behalf of bjori Revision: http://svn.php.net/viewvc/?view=revision&revision=293631 Log: Fixed bug#50782 (Description of the return value doesn't not match with the example code) ------------------------------------------------------------------------ [2010-01-16 22:05:30] AhmedHan at gmail dot com Description: ------------ Return value is said to be: "Returns the name of the current session." But the example code contains the following line: "$previous_name = session_name("WebsiteID");" Is the return value "the current session name" or "the previous session name"? Reproduce code: --------------- --- From manual page: function.session-name#Examples --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50782&edit=1

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