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
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:
31 - 8 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 14:01:30 2024 UTC