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

...
...
@@ -30,39 +29,6 @@
30
29
CGI processor.
31
30
</simpara>
32
31

33
-
<simpara>
34
-
<varname>$HTTP_ENV_VARS</varname> contains the same initial
35
-
information, but is not a <link linkend="language.variables.superglobals">superglobal</link>.
36
-
(Note that <varname>$HTTP_ENV_VARS</varname> and <varname>$_ENV</varname>
37
-
are different variables and that PHP handles them as such)
38
-
</simpara>
39
-

40
-
</refsect1>
41
-
42
-

43
-
<refsect1 role="changelog">
44
-
&reftitle.changelog;
45
-
<para>
46
-
<informaltable>
47
-
<tgroup cols="2">
48
-
<thead>
49
-
<row>
50
-
<entry>&Version;</entry>
51
-
<entry>&Description;</entry>
52
-
</row>
53
-
</thead>
54
-
<tbody>
55
-
<row>
56
-
<entry>4.1.0</entry>
57
-
<entry>
58
-
Introduced <varname>$_ENV</varname> that deprecated
59
-
<varname>$HTTP_ENV_VARS</varname>.
60
-
</entry>
61
-
</row>
62
-
</tbody>
63
-
</tgroup>
64
-
</informaltable>
65
-
</para>
66
32
</refsect1>
67
33

68
34
<refsect1 role="examples">
...
...
@@ -105,7 +71,7 @@ My username is bjori!
105
71
</para>
106
72
</refsect1>
107
73

108
-
</phpdoc:varentry>
74
+
</refentry>
109
75
110
76
<!-- Keep this comment at the end of the file
111
77
Local variables:
112
78