Doc #78127 [Opn]: Passing "user" to a parameter is forbidden but behavior not detailled

[email protected]
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=78127&edit=1

 ID:                 78127
 Updated by:         [email protected]
 Reported by:        [email protected]
 Summary:             Passing "user" to a parameter is forbidden but
                     behavior not detailled
 Status:             Open
 Type:               Documentation Problem
 Package:            Session related
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

This triggers a ValueError as of PHP 8.0.0; previously it
triggered E_RECOVERABLE_ERROR[1].

[1] <https://3v4l.org/c3CnG>


Previous Comments:
------------------------------------------------------------------------
[2019-06-08 13:15:37] [email protected]

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.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=78127&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.