Req #30139 [Opn]: Link phpinfo() modules to manual
Edit report at https://bugs.php.net/bug.php?id=30139&edit=1
ID: 30139
Updated by: kalle@php.net
Reported by: phpbugs at everythingbuffy dot com
Summary: Link phpinfo() modules to manual
Status: Open
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: XP Home
PHP Version: 5.0.1
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (7 messages)