Bug #69386 [Com]: Links to $_SERVER and superglobal pages dont' work
| From: | peterkokot at gmail dot com | Date: | Fri, 13 Oct 2017 23:45:30 +0000 |
| Subject: | Bug #69386 [Com]: Links to $_SERVER and superglobal pages dont' work | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-26468@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69386&edit=1
ID: 69386
Comment by: peterkokot at gmail dot com
Reported by: david at frankieandshadow dot com
Summary: Links to $_SERVER and superglobal pages dont' work
Status: Assigned
Type: Bug
Package: Website problem
Operating System: n/a
PHP Version: Irrelevant
Assigned To: salathe
Block user comment: N
Private report: N
New Comment:
Hello, this can be also closed now probably since it's working correctly. I got here from the
random link at bugs.php.net and checked if it works.
Previous Comments:
------------------------------------------------------------------------
[2015-04-08 14:17:26] salathe@php.net
Fixed in web/php.git commit 38f4dff [1]
[1] http://git.php.net/?p=web/php.git;a=commitdiff;h=38f4dff1fcf18a8ea293836fb71cd6506a21e879
------------------------------------------------------------------------
[2015-04-08 14:07:08] salathe@php.net
The "related snippet" text has been broken for a while, it seems. Let's fix it.
------------------------------------------------------------------------
[2015-04-06 14:43:05] david at frankieandshadow dot com
Description:
------------
If I search for $_SERVER in the online documentation, which takes me to
http://php.net/manual-lookup.php?pattern=%24_SERVER&scope=quickref
then the two links at the top where it says
$_SERVER is a super global, and is home to many predefined variables ...
the links on "$_SERVER" and "super global" go to
http://php.net/manual-lookup.php?pattern=reserved.variables.server.php&lang=en&scope=404quickref
which says
"reserved.variables.server.php doesn't exist. Closest matches:..."
which doesn't make looking at the doc for $_SERVER easy!
I think $_SERVER should now link to
http://php.net/manual/en/reserved.variables.server.php
and superglobals to
http://php.net/manual/en/language.variables.superglobals.php
I imagine, though I haven't tried, you might get similar failed links on searching for other
superglobals.
Test script:
---------------
http://php.net/manual-lookup.php?pattern=%24_SERVER&scope=quickref
http://php.net/manual-lookup.php?pattern=reserved.variables.server.php&lang=en&scope=404quickref
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69386&edit=1