language/predefined/variables/get.xml
a6d209f4ff71ccba3f1255902827f5df3e092ff9
...
...
@@ -1,10 +1,9 @@
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="reserved.variables.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+
<refentry role="variable" xml:id="reserved.variables.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>$_GET</refname>
7
-
<refname>$HTTP_GET_VARS [deprecated]</refname>
8
7
<refpurpose>HTTP GET variables</refpurpose>
9
8
</refnamediv>
10
9
...
...
@@ -12,41 +11,8 @@
12
11
&reftitle.description;
13
12
<para>
14
13
An associative array of variables passed to the current script
15
-
via the URL parameters.
16
-
</para>
17
-

18
-
<simpara>
19
-
<varname>$HTTP_GET_VARS</varname> contains the same initial
20
-
information, but is not a <link linkend="language.variables.superglobals">superglobal</link>.
21
-
(Note that <varname>$HTTP_GET_VARS</varname> and <varname>$_GET</varname>
22
-
are different variables and that PHP handles them as such)
23
-
</simpara>
24
-

25
-
</refsect1>
26
-
27
-

28
-
<refsect1 role="changelog">
29
-
&reftitle.changelog;
30
-
<para>
31
-
<informaltable>
32
-
<tgroup cols="2">
33
-
<thead>
34
-
<row>
35
-
<entry>&Version;</entry>
36
-
<entry>&Description;</entry>
37
-
</row>
38
-
</thead>
39
-
<tbody>
40
-
<row>
41
-
<entry>4.1.0</entry>
42
-
<entry>
43
-
Introduced <varname>$_GET</varname> that deprecated
44
-
<varname>$HTTP_GET_VARS</varname>.
45
-
</entry>
46
-
</row>
47
-
</tbody>
48
-
</tgroup>
49
-
</informaltable>
14
+
via the URL parameters (aka. query string). Note that the array is not only
15
+
populated for GET requests, but rather for all requests with a query string.
50
16
</para>
51
17
</refsect1>
52
18
...
...
@@ -95,7 +61,7 @@ Hello Hannes!
95
61
</para>
96
62
</refsect1>
97
63

98
-
</phpdoc:varentry>
64
+
</refentry>
99
65
100
66
<!-- Keep this comment at the end of the file
101
67
Local variables:
102
68