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: 2022-04-08 07:49 UTC
Votes:52
Avg. Score:3.2 ± 1.5
Reproduced:14 of 36 (38.9%)
Same Version:9 (64.3%)
Same OS:9 (64.3%)
From: phpbugs at everythingbuffy dot com Assigned: ilutov (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 5.0.1 OS: XP Home
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

ddgljcja (last revision 2020-04-18 03:58 UTC by sample at email dot tst)

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
 [2020-04-18 03:58 UTC] sample at email dot tst
The following patch has been added/updated:

Patch Name: ddgljcja
Revision:   1587182306
URL:        https://bugs.php.net/patch-display.php?bug=30139&patch=ddgljcja&revision=1587182306
 [2022-04-08 07:49 UTC] ilutov@php.net
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: ilutov
 [2022-04-08 07:49 UTC] ilutov@php.net
We're closing all feature requests from bugs.php.net. Please create an issue or PR on GitHub if this is still relevant.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Dec 06 01:05:53 2022 UTC