Doc #78194 [Opn->Csd]: Wrong return type for SessionHandlerInterface::gc

From: Date: Tue, 16 Feb 2021 12:32:23 +0000
Subject: Doc #78194 [Opn->Csd]: Wrong return type for SessionHandlerInterface::gc
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18555@lists.php.net to get a copy of this message
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)

« previous php.doc.bugs (#18555) next »