php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35755 the document of session_module_name() is incomplete
Submitted: 2005-12-21 03:16 UTC Modified: 2006-09-08 11:43 UTC
From: songchao1234 at yeah dot net Assigned: ramsey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: redhat 7.3
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 !
Your email address:
MUST BE VALID
Solve the problem:
50 + 33 = ?
Subscribe to this entry?

 
 [2005-12-21 03:16 UTC] songchao1234 at yeah dot net
Description:
------------
session_module_name() needs some examples for its document,

Bug #5121 said that it has been fixed , but actually it is not


Reproduce code:
---------------
<?php
session_module_name("mm");
echo session_module_name();
?>

Expected result:
----------------
mm

Actual result:
--------------
Fatal error: session_module_name(): Cannot find named PHP session module (mm)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-16 15:45 UTC] ramsey@php.net
session_module_name("mm") doesn't work because you don't have the mm libs compiled into PHP. I'll add documentation on each of the session modules and what PHP requires to use mm.
 [2006-09-08 11:43 UTC] nlopess@php.net
the 'Requirements' section already mention the library needed to use the mm handler.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC