Bug #69386 [Asn->Csd]: Links to $_SERVER and superglobal pages dont' work
| From: | salathe@php.net | Date: | Tue, 24 Oct 2017 09:24:23 +0000 |
| Subject: | Bug #69386 [Asn->Csd]: Links to $_SERVER and superglobal pages dont' work | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-26499@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
Updated by: salathe@php.net
Reported by: david at frankieandshadow dot com
Summary: Links to $_SERVER and superglobal pages dont' work
-Status: Assigned
+Status: Closed
Type: Bug
Package: Website problem
Operating System: n/a
PHP Version: Irrelevant
Assigned To: salathe
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed. Since the websites are not directly
updated from the repository, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.
Thanks for reminding me, Peter. Closing this out now.
Previous Comments:
------------------------------------------------------------------------
[2017-10-13 23:45:28] peterkokot at gmail dot com
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.
------------------------------------------------------------------------
[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