Doc #80356 [Opn->Ver]: Incorrect function return type
| From: | cmb@php.net | Date: | Thu, 12 Nov 2020 23:46:39 +0000 |
| Subject: | Doc #80356 [Opn->Ver]: Incorrect function return type | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18119@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80356&edit=1
ID: 80356
Updated by: cmb@php.net
Reported by: a dot vysotsky at gmail dot com
Summary: Incorrect function return type
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Session related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-11-12 19:35:10] 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. ..."
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80356&edit=1