Doc #60334 [Opn]: Parameters need to be mentioned for read/write callbacks
| From: | myselfasunder at gmail dot com | Date: | Sat, 19 Nov 2011 06:40:56 +0000 |
| Subject: | Doc #60334 [Opn]: Parameters need to be mentioned for read/write callbacks | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7449@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60334&edit=1
ID: 60334
User updated by: myselfasunder at gmail dot com
Reported by: myselfasunder at gmail dot com
Summary: Parameters need to be mentioned for read/write
callbacks
Status: Open
Type: Documentation Problem
Package: Session related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Apologies. The CHM help-file omits the info about the write function, but it's on the webpage.
The read function doesn't show the parameters in either.
Dustin
Previous Comments:
------------------------------------------------------------------------
[2011-11-19 06:33:41] myselfasunder at gmail dot com
Description:
------------
For the description of session_set_save_handler, it lists the descriptions of the various callbacks
that are passed-in. The examples indicate that the session-ID is the only parameter for the
"read" callback, and the session-ID and the data as parameters for the "write"
callback, but this information is omitted from the actual description of session_set_save_handler.
This information should be indicated at the top along with the rest.
Dustin
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60334&edit=1