Req #30139 [Ana->Csd]: Link phpinfo() modules to manual
| From: | ilutov@php.net | Date: | Fri, 08 Apr 2022 07:49:15 +0000 |
| Subject: | Req #30139 [Ana->Csd]: Link phpinfo() modules to manual | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-240799@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=30139&edit=1
ID: 30139
Updated by: ilutov@php.net
Reported by: phpbugs at everythingbuffy dot com
Summary: Link phpinfo() modules to manual
-Status: Analyzed
+Status: Closed
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: XP Home
PHP Version: 5.0.1
-Assigned To:
+Assigned To: ilutov
Block user comment: N
Private report: N
New Comment:
We're closing all feature requests from bugs.php.net. Please create an issue or PR on GitHub if
this is still relevant.
Previous Comments:
------------------------------------------------------------------------
[2020-04-18 03:58:26] 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
------------------------------------------------------------------------
[2017-08-23 00:37:34] 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
------------------------------------------------------------------------
[2010-12-21 19:41:01] 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 ...)
------------------------------------------------------------------------
[2004-09-18 16:34:06] 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 :)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=30139&edit=1