language/predefined/variables/superglobals.xml
a6d209f4ff71ccba3f1255902827f5df3e092ff9
...
...
@@ -1,10 +1,10 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3

4
-
<phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="language.variables.superglobals" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" role="noversion">
4
+
<refentry role="variable" xml:id="language.variables.superglobals" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="verify_info:false">
5
5
<refnamediv>
6
6
<refname>Superglobals</refname>
7
-
<refpurpose>Superglobals are built-in variables that are always available in all scopes</refpurpose>
7
+
<refpurpose>Built-in variables that are always available in all scopes</refpurpose>
8
8
</refnamediv>
9
9
10
10
<refsect1 role="description">
...
...
@@ -31,30 +31,6 @@
31
31
</para>
32
32
</refsect1>
33
33

34
-
<refsect1 role="changelog">
35
-
&reftitle.changelog;
36
-
<para>
37
-
<informaltable>
38
-
<tgroup cols="2">
39
-
<thead>
40
-
<row>
41
-
<entry>&Version;</entry>
42
-
<entry>&Description;</entry>
43
-
</row>
44
-
</thead>
45
-
<tbody>
46
-
<row>
47
-
<entry>4.1.0</entry>
48
-
<entry>
49
-
Superglobals were introduced to PHP.
50
-
</entry>
51
-
</row>
52
-
</tbody>
53
-
</tgroup>
54
-
</informaltable>
55
-
</para>
56
-
</refsect1>
57
-

58
34
<refsect1 role="notes">
59
35
&reftitle.notes;
60
36
<note>
...
...
@@ -67,19 +43,6 @@
67
43
</para>
68
44
</note>
69
45
<note>
70
-
<title>Dealing with register_globals</title>
71
-
<para>
72
-
If the deprecated <link linkend="ini.register-globals">register_globals</link>
73
-
directive is set to <literal>on</literal> then the variables within will
74
-
also be made available in the global scope of the script. For example,
75
-
<varname>$_POST['foo']</varname> would also exist as <varname>$foo</varname>.
76
-
</para>
77
-
<para>
78
-
For related information, see the FAQ titled
79
-
"<link linkend="faq.register-globals">How does register_globals affect me?</link>"
80
-
</para>
81
-
</note>
82
-
<note>
83
46
<title>Variable variables</title>
84
47
<para>
85
48
Superglobals cannot be used as
...
...
@@ -100,7 +63,7 @@
100
63
</para>
101
64
</refsect1>
102
65

103
-
</phpdoc:varentry>
66
+
</refentry>
104
67
105
68
<!-- Keep this comment at the end of the file
106
69
Local variables:
107
70