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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Tue Dec 06 22:05:54 2022 UTC