php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50782 Description of the return value doesn't not match with the example code
Submitted: 2010-01-16 22:05 UTC Modified: 2010-01-16 22:27 UTC
From: AhmedHan at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2010-01-16 22:05 UTC] 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
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-16 22:27 UTC] 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:27 UTC] bjori@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 10:00:01 2026 UTC