php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78127 Passing "user" to a parameter is forbidden but behavior not detailled
Submitted: 2019-06-08 13:15 UTC Modified: 2021-09-09 09:40 UTC
From: girgias@php.net Assigned:
Status: Open Package: Session related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2019-06-08 13:15 UTC] girgias@php.net
Description:
------------
---
From manual page: https://php.net/function.session-module-name
---
"Passing "user" to this parameter [module] is forbidden."
However the behavior is undocumented, I would assume this throws an E_WARNING or something similar.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-09 09:40 UTC] cmb@php.net
This triggers a ValueError as of PHP 8.0.0; previously it
triggered E_RECOVERABLE_ERROR[1].

[1] <https://3v4l.org/c3CnG>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC