php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77248 SessionUpdateTimestampHandlerInterface is not documented
Submitted: 2018-12-06 08:45 UTC Modified: -
From: mumu at seznam dot cz Assigned:
Status: Open Package: Documentation problem
PHP Version: 7.2.12 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
2 + 44 = ?
Subscribe to this entry?

 
 [2018-12-06 08:45 UTC] mumu at seznam dot cz
Description:
------------
There is no description of SessionUpdateTimestampHandlerInterface (introduced in PHP 7.0.0) and its respective non-oop session-set-save-handler arguments in the docs.

http://php.net/manual/en/class.sessionupdatetimestamphandlerinterface.php
and 
http://php.net/manual/en/function.session-set-save-handler.php

For the context of the updateTimestamp() function I would like to see
- What is the difference between SessionHandlerInterface::write and SessionUpdateTimestampHandlerInterface::updateTimestamp functions?
- How should differ the code implementing these two functions?
- How is the code supposed to update a timestamp if there is no timestamp provided to the function?

Expected result:
----------------
The above is properly documented and the documentation explains the context and difference between similarly looking constructs and functions.

Actual result:
--------------
There is no documentation.

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Mar 23 11:01:26 2019 UTC