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: 2020-11-26 17:29 UTC
From: frank dot h dot ellenberger at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: frank dot h dot ellenberger at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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.
 [2020-11-26 17:29 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-11-26 17:29 UTC] cmb@php.net
In my opinion, there is no problem with multiple pages having the
same title; actually, the manual has a lot of page titled
"Predefined Constants", for example.  The link texts are, however,
unfortunate.
 [2020-11-26 17:32 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=351675
Log: Fix #77947: Wrong link label for /manual/en/reserved.variables.php
 [2020-11-26 17:34 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=9eacb8a641f1c6d5b54d89c2d04e6ab87d2a98c1
Log: Fix #77947: Wrong link label for /manual/en/reserved.variables.php
 [2020-11-26 17:34 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-11-26 19:34 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=351681
Log: Fix #77947: Wrong link label for /manual/en/reserved.variables.php
 [2020-11-26 19:35 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=a2cc6e039189af4b7adabb89b39d6475dda36d9b
Log: Fix #77947: Wrong link label for /manual/en/reserved.variables.php
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=a20f07274b76281f2b3a3cb5cb9ca394fc6817fd
Log: Fix #77947: Wrong link label for /manual/en/reserved.variables.php
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 02:01:35 2025 UTC