php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69482 Return type does not match the documentation
Submitted: 2015-04-19 12:20 UTC Modified: 2015-04-20 15:20 UTC
From: korsar dot zn at gmail dot com Assigned: pasindu (profile)
Status: Closed Package: Session related
PHP Version: 5.6.8 OS: Linux, Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: korsar dot zn at gmail dot com
New email:
PHP Version: OS:

 

 [2015-04-19 12:20 UTC] 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


Patches

session-abort-reset (last revision 2015-04-19 17:07 UTC by cmb@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-19 17:07 UTC] 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 17:07 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2015-04-20 15:13 UTC] 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-20 15:20 UTC] pasindu@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: pasindu
 [2015-04-20 15:20 UTC] pasindu@php.net
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.


 [2015-04-20 15:23 UTC] pasindu@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.
 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of pasindu
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3eb1b91927c5964c018c2bb8859c2aa6eb1b8cdd
Log: Fix #69482 session_commit and session_abort  documentation return type mismatch ( By Christoph Becker )
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC