Req #30139 [Com]: Link phpinfo() modules to manual

From: Date: Thu, 28 Jan 2021 16:36:55 +0000
Subject: Req #30139 [Com]: Link phpinfo() modules to manual
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231823@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
 Comment by:         nikitarawat619 at gmail dot com
 Reported by:        phpbugs at everythingbuffy dot com
 Summary:            Link phpinfo() modules to manual
 Status:             Analyzed
 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:

http://www.nikitarawat.net/
http://www.nikitarawat.net/about
http://www.nikitarawat.net/services
http://www.nikitarawat.net/gallery
http://www.nikitarawat.net/contact


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


Thread (7 messages)

« previous php.bugs (#231823) next »