php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80356 Incorrect function return type
Submitted: 2020-11-12 19:35 UTC Modified: 2020-11-12 23:46 UTC
From: a dot vysotsky at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Session related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: a dot vysotsky at gmail dot com
New email:
PHP Version: OS:

 

 [2020-11-12 19:35 UTC] a dot vysotsky at gmail dot com
Description:
------------
---
From manual page: https://php.net/function.session-set-save-handler
---

Now is: "read ( string $sessionId ) : bool"
Must be: "read ( string $sessionId ) : string"

"... The read callback must always return a session encoded (serialized) string, or an empty string if there is no data to read. ..."




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-12 23:46 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-11-12 23:48 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=88848833f762149b227f84d68e17a130fa043a41
Log: Fix #80356: Incorrect function return type
 [2020-11-12 23:48 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-11-13 00:50 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=b2c1ea999cdf032923d47dccd7ee0e9faeecc1e7
Log: Fix #80356: Incorrect function return type
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=b1ad0bc1a8eab5698a5ee3b60db5996a933368b8
Log: Fix #80356: Incorrect function return type
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Sep 16 11:00:01 2025 UTC