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: 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:
Fixed in web/php.git commit 38f4dff [1]
[1] http://git.php.net/?p=web/php.git;a=commitdiff;h=38f4dff1fcf18a8ea293836fb71cd6506a21e879
Previous Comments:
------------------------------------------------------------------------
[2015-04-08 14:07:08] [email protected]
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
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.