Doc #69482 [Ver->Csd]: Return type does not match the documentation
| From: | pasindu@php.net | Date: | Mon, 20 Apr 2015 15:20:23 +0000 |
| Subject: | Doc #69482 [Ver->Csd]: Return type does not match the documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12215@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69482&edit=1
ID: 69482
Updated by: pasindu@php.net
Reported by: korsar dot zn at gmail dot com
Summary: Return type does not match the documentation
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Session related
Operating System: Linux, Windows
PHP Version: 5.6.8
-Assigned To:
+Assigned To: pasindu
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:
------------------------------------------------------------------------
[2015-04-20 15:13:22] pasindu@php.net
Automatic comment from SVN on behalf of pasindu
Revision: http://svn.php.net/viewvc/?view=revision&revision=336604
Log: Fix #69482 session_commit and session_abort documentation return type mismatch
( By Christoph Becker )
------------------------------------------------------------------------
[2015-04-19 17:07:35] cmb@php.net
The following patch has been added/updated:
Patch Name: session-abort-reset
Revision: 1429463255
URL: https://bugs.php.net/patch-display.php?bug=69482&patch=session-abort-reset&revision=1429463255
------------------------------------------------------------------------
[2015-04-19 12:20:19] korsar dot zn at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.session-abort
From manual page: http://www.php.net/function.session-reset
---
Functions: session_commit and session_abort, return type does not match the documentation
Test script:
---------------
// test 3
session_start();
$_SESSION['test'] = 1;
var_dump(session_abort()) // return NULL
// test 2
session_start();
$_SESSION['test'] = 1;
var_dump(session_reset()) // return NULL
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69482&edit=1