php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30139 Link phpinfo() modules to manual
Submitted: 2004-09-18 16:34 UTC Modified: 2017-08-23 00:39 UTC
Votes:6
Avg. Score:3.8 ± 0.4
Reproduced:3 of 4 (75.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: phpbugs at everythingbuffy dot com Assigned:
Status: Analyzed Package: PHP options/info functions
PHP Version: 5.0.1 OS: XP Home
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: phpbugs at everythingbuffy dot com
New email:
PHP Version: OS:

 

 [2004-09-18 16:34 UTC] phpbugs at everythingbuffy dot com
Description:
------------
To make it easier to find information for items enabled in the PHP build why not link the output of phpinfo() to the specific manual pages?

This would be easy to achieve, as follows:

In /ext/standard/info.c change line 70 from:

php_printf("<h2><a name=\"module_%s\">%s</a></h2>\n", module->name, module->name);

To:

php_printf("<h2><a href=\"http://www.php.net/%s\" title=\"%s\">%s</a></h2>\n", module->name, module->name, module->name);

Thank you

Sean :)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-21 19:41 UTC] johannes@php.net
-Package: Feature/Change Request +Package: PHP options/info functions
 [2010-12-21 19:41 UTC] johannes@php.net
It is not that easy as PHP extensions might come from third party sources. This requires extending the module_entry structure. (zend_extions interestingly provide this functionality ...)
 [2017-08-23 00:37 UTC] kalle@php.net
Like Johannes said it requires extending the module_entry, while it can be introduced in a minor version, it does mean another #ifdef for cross version compatibility, so probably best in the next major version, tho I don't expect this to be a large use
 [2017-08-23 00:39 UTC] kalle@php.net
-Status: Open +Status: Analyzed
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 15 18:01:25 2019 UTC