Doc #80356 [Ver->Csd]: Incorrect function return type
| From: | phpdocbot@php.net | Date: | Thu, 12 Nov 2020 23:48:10 +0000 |
| Subject: | Doc #80356 [Ver->Csd]: Incorrect function return type | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18120@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: phpdocbot@php.net
Reported by: a dot vysotsky at gmail dot com
Summary: Incorrect function return type
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Session related
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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
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