language/predefined/variables/cookie.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.cookies" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+
<refentry role="variable" xml:id="reserved.variables.cookies" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>$_COOKIE</refname>
7
-
<refname>$HTTP_COOKIE_VARS [deprecated]</refname>
8
7
<refpurpose>HTTP Cookies</refpurpose>
9
8
</refnamediv>
10
9

...
...
@@ -14,40 +13,6 @@
14
13
An associative <type>array</type> of variables passed to the current script
15
14
via HTTP Cookies.
16
15
</para>
17
-

18
-
<simpara>
19
-
<varname>$HTTP_COOKIE_VARS</varname> contains the same initial
20
-
information, but is not a <link linkend="language.variables.superglobals">superglobal</link>.
21
-
(Note that <varname>$HTTP_COOKIE_VARS</varname> and <varname>$_COOKIE</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>$_COOKIE</varname> that deprecated
44
-
<varname>$HTTP_COOKIE_VARS</varname>.
45
-
</entry>
46
-
</row>
47
-
</tbody>
48
-
</tgroup>
49
-
</informaltable>
50
-
</para>
51
16
</refsect1>
52
17

53
18
<refsect1 role="examples">
...
...
@@ -91,7 +56,7 @@ Hello Hannes!
91
56
</para>
92
57
</refsect1>
93
58

94
-
</phpdoc:varentry>
59
+
</refentry>
95
60
96
61
<!-- Keep this comment at the end of the file
97
62
Local variables:
98
63