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:3
Avg. Score:4.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC