Edit report at https://bugs.php.net/bug.php?id=69386&edit=1
ID: 69386
Updated by: [email protected]
Reported by: david at frankieandshadow dot com
Summary: Links to $_SERVER and superglobal pages dont' work
Status: Open
Type: Bug
Package: Website problem
Operating System: n/a
PHP Version: Irrelevant
-Assigned To:
+Assigned To: salathe
Block user comment: N
Private report: N
New Comment:
The "related snippet" text has been broken for a while, it seems. Let's fix it.
Previous Comments:
------------------------------------------------------------------------
[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.