|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78194 Wrong return type for SessionHandlerInterface::gc
Submitted: 2019-06-21 18:11 UTC Modified: 2019-07-13 22:11 UTC
From: bryan at theclays dot us Assigned:
Status: Open Package: Session related
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
49 - 34 = ?
Subscribe to this entry?

 [2019-06-21 18:11 UTC] bryan at theclays dot us
From manual page:
From manual page:
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:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-13 22:11 UTC]
-Summary: return type of +Summary: Wrong return type for SessionHandlerInterface::gc
 [2019-07-13 22:11 UTC]
-Package: Unknown/Other Function +Package: Session related
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat May 30 00:01:25 2020 UTC