php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69386 Links to $_SERVER and superglobal pages dont' work
Submitted: 2015-04-06 14:43 UTC Modified: 2017-10-24 09:24 UTC
From: david at frankieandshadow dot com Assigned: salathe (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david at frankieandshadow dot com
New email:
PHP Version: OS:

 

 [2015-04-06 14:43 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-07 13:12 UTC] cmb@php.net
-Summary: Liks to $_SERVER and superglobal pages dont' work +Summary: Links to $_SERVER and superglobal pages dont' work -Package: Documentation problem +Package: Website problem
 [2015-04-08 14:07 UTC] salathe@php.net
-Assigned To: +Assigned To: salathe
 [2015-04-08 14:07 UTC] salathe@php.net
The "related snippet" text has been broken for a while, it seems. Let's fix it.
 [2017-10-13 23:45 UTC] 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.
 [2017-10-24 09:24 UTC] salathe@php.net
-Status: Assigned +Status: Closed
 [2017-10-24 09:24 UTC] salathe@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC