php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73409 Bug in session_gc's example #2
Submitted: 2016-10-28 08:26 UTC Modified: 2016-10-28 09:40 UTC
From: svante at amaster dot dk Assigned: cmb (profile)
Status: Closed Package: Session related
PHP Version: Irrelevant OS:
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: svante at amaster dot dk
New email:
PHP Version: OS:

 

 [2016-10-28 08:26 UTC] svante at amaster dot dk
Description:
------------
---
From manual page: http://www.php.net/function.session-gc
---
I believe that in the 2nd. example, Example #2 session_gc() example for user accessible script, 2 occurences of:

touch($gc_period);

, should really be:

touch($gc_time);



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-28 08:42 UTC] requinix@php.net
-Summary: http://php.net/manual/en/function.session-gc.php +Summary: Bug in session_gc's example #2 -Status: Open +Status: Verified -Package: Documentation problem +Package: Session related
 [2016-10-28 09:39 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=340750
Log: Fix #73409: Bug in session_gc's example 2
 [2016-10-28 09:40 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-10-28 09:40 UTC] cmb@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:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=d803b1c7613db3a5da4552081a4d0087d7c99f04
Log: Fix #73409: Bug in session_gc's example 2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC