php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77437 Missing documentation from session_unset()
Submitted: 2019-01-10 06:11 UTC Modified: 2019-01-11 02:45 UTC
From: nick at ogredata dot com Assigned: girgias (profile)
Status: Assigned Package: Session related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-01-10 06:11 UTC] nick at ogredata dot com
Description:
------------
---
From manual page: https://php.net/function.session-unset
---

On the session_destroy page (http://php.net/manual/en/function.session-destroy.php), an official Note says:

"Only use session_unset() for older deprecated code that does not use $_SESSION"

That note should be on the session_unset page, too!

There's a question about this on StackOverflow from 2014, also: https://stackoverflow.com/questions/25016744/is-session-unset-deprecated


Thank you for all your hard work. I appreciate it.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-01-11 02:45 UTC] girgias@php.net
-Status: Open +Status: Assigned -Package: Documentation problem +Package: Session related -Assigned To: +Assigned To: girgias
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jan 16 12:01:25 2019 UTC