Doc #73409 [Opn->Ver]: Bug in session_gc's example #2
| From: | requinix@php.net | Date: | Fri, 28 Oct 2016 08:42:08 +0000 |
| Subject: | Doc #73409 [Opn->Ver]: Bug in session_gc's example #2 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14051@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73409&edit=1
ID: 73409
Updated by: requinix@php.net
Reported by: svante at amaster dot dk
-Summary: http://php.net/manual/en/function.session-gc.php
+Summary: Bug in session_gc's example #2
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: Session related
PHP Version: Irrelevant
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-10-28 08:26:14] 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);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73409&edit=1