php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77947 Wrong link label for /manual/en/reserved.variables.php
Submitted: 2019-04-27 23:01 UTC Modified: 2019-04-27 23:37 UTC
From: frank dot h dot ellenberger at gmail dot com Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-04-27 23:01 UTC] frank dot h dot ellenberger at gmail dot com
Description:
------------
---
From manual page: https://php.net/language.variables.predefined
---
Wrong link label in Line 100:
-<dd><a href='/manual/en/reserved.variables.php'>Predefined Variables</a></dd>
+<dd><a href='/manual/en/reserved.variables.php'>Reserved Variables</a></dd>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-27 23:08 UTC] requinix@php.net
Where are you seeing this?
 [2019-04-27 23:16 UTC] frank dot h dot ellenberger at gmail dot com
That is view-source:https://www.php.net/manual/de/language.variables.predefined.php

in https://www.php.net/manual/en/language.variables.predefined.php it is at the end of the first para:
For a listing of these variables, please see the section on Reserved Predefined Variables.
 [2019-04-27 23:23 UTC] frank dot h dot ellenberger at gmail dot com
Oh, it seems to be a translation issue. The engl
en: Reserved Predefined Variables
de: Vordefinierte Variablen ("Reservierte " is missing)
 [2019-04-27 23:37 UTC] requinix@php.net
They aren't actually reserved, though. You can assign to and overwrite them if you wish. $_GET, $_POST, even $GLOBALS. It's bad practice, but you *could*.
Additionally the page linked to calls itself "Predefined Variables".
 [2019-04-28 00:07 UTC] frank dot h dot ellenberger at gmail dot com
Lets start with the structure of the english version:
https://www.php.net/manual/en/language.variables.predefined.php
links with label "Reserved Predefined Variables" to /manual/en/reserved.variables.php
Both have title "Predefined Variables".

In German we have
https://www.php.net/manual/de/language.variables.predefined.php
linking with label "Vordefinierte Variablen"
to /manual/de/reserved.variables.php
Both have title "Vordefinierte Variablen"

So, 2 different pages with the same title is confusing. 
The first title is OK, the second should be different. 
As newby to PHP I am not entitled to decide, if "Reserved" is the right word or if there exists something better.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 15:01:26 2019 UTC