Doc #78194 [Opn->Csd]: Wrong return type for SessionHandlerInterface::gc
Edit report at https://bugs.php.net/bug.php?id=78194&edit=1
ID: 78194
Updated by: cmb@php.net
Reported by: bryan at theclays dot us
Summary: Wrong return type for SessionHandlerInterface::gc
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Session related
Operating System: n/a
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This has been fixed in the meantime.
Previous Comments:
------------------------------------------------------------------------
[2019-06-21 18:11:01] bryan at theclays dot us
Description:
------------
---
From manual page: https://php.net/sessionhandlerinterface.gc
From manual page: https://php.net/class.sessionhandlerinterface.php
---
Return type of SessionHandlerInterface::gc is stated as int in the function definition at the top,
but documentation below states the return type is bool.
Test script:
---------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78194&edit=1
Thread (2 messages)