Doc #69482 [PATCH]: Return type does not match the documentation
| From: | cmb@php.net | Date: | Sun, 19 Apr 2015 17:07:36 +0000 |
| Subject: | Doc #69482 [PATCH]: Return type does not match the documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12203@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
Patch added by: cmb@php.net
Reported by: korsar dot zn at gmail dot com
Summary: Return type does not match the documentation
Status: Open
Type: Documentation Problem
Package: Session related
Operating System: Linux, Windows
PHP Version: 5.6.8
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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