Req #30139 [Opn]: Link phpinfo() modules to manual
| From: | johannes@php.net | Date: | Tue, 21 Dec 2010 18:41:01 +0000 |
| Subject: | Req #30139 [Opn]: Link phpinfo() modules to manual | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157192@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=30139&edit=1
ID: 30139
Updated by: johannes@php.net
Reported by: phpbugs at everythingbuffy dot com
Summary: Link phpinfo() modules to manual
Status: Open
Type: Feature/Change Request
-Package: 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:
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 ...)
Previous Comments:
------------------------------------------------------------------------
[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 http://bugs.php.net/bug.php?id=30139&edit=1