reference/info/functions/phpinfo.xml
f781803449007bb0e3a96c693e0eee067f7eb466
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>bool</type><methodname>phpinfo</methodname>
13
-
<methodparam choice="opt"><type>int</type><parameter>what</parameter><initializer>INFO_ALL</initializer></methodparam>
12
+
<type>true</type><methodname>phpinfo</methodname>
13
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>INFO_ALL</constant></initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Outputs a large amount of information about the current state of PHP.
...
...
@@ -21,8 +21,7 @@
21
21
</para>
22
22
<para>
23
23
Because every system is setup differently, <function>phpinfo</function> is
24
-
commonly used to check <link
25
-
linkend="configuration">configuration settings</link> and for available
24
+
commonly used to check <link linkend="configuration">configuration settings</link> and for available
26
25
<link linkend="language.variables.predefined">predefined variables</link>
27
26
on a given system.
28
27
</para>
...
...
@@ -37,15 +36,14 @@
37
36
<para>
38
37
<variablelist>
39
38
<varlistentry>
40
-
<term><parameter>what</parameter></term>
39
+
<term><parameter>flags</parameter></term>
41
40
<listitem>
42
41
<para>
43
42
The output may be customized by passing one or more of the
44
43
following <emphasis>constants</emphasis> bitwise values summed
45
-
together in the optional <parameter>what</parameter> parameter.
44
+
together in the optional <parameter>flags</parameter> parameter.
46
45
One can also combine the respective constants or bitwise values
47
-
together with the <link
48
-
linkend="language.operators.bitwise">bitwise or operator</link>.
46
+
together with the <link linkend="language.operators.bitwise">bitwise or operator</link>.
49
47
</para>
50
48
<para>
51
49
<table>
...
...
@@ -111,8 +109,7 @@
111
109
<entry>INFO_LICENSE</entry>
112
110
<entry>64</entry>
113
111
<entry>
114
-
PHP License information. See also the <link
115
-
xlink:href="&url.php.license;">license FAQ</link>.
112
+
PHP License information. See also the <link xlink:href="&url.php.license;">license FAQ</link>.
116
113
</entry>
117
114
</row>
118
115
<row>
...
...
@@ -135,40 +132,7 @@
135
132
<refsect1 role="returnvalues">
136
133
&reftitle.returnvalues;
137
134
<para>
138
-
&return.success;
139
-
</para>
140
-
</refsect1>
141
-

142
-
<refsect1 role="changelog">
143
-
&reftitle.changelog;
144
-
<para>
145
-
<informaltable>
146
-
<tgroup cols="2">
147
-
<thead>
148
-
<row>
149
-
<entry>&Version;</entry>
150
-
<entry>&Description;</entry>
151
-
</row>
152
-
</thead>
153
-
<tbody>
154
-
<row>
155
-
<entry>5.5.0</entry>
156
-
<entry>
157
-
Logo GUIDs were replaced with data URIs, and so turning off expose_php
158
-
now has no effect on the result of phpinfo(). Credits are also now
159
-
embedded within the output itself instead of linked.
160
-
</entry>
161
-
</row>
162
-
<row>
163
-
<entry>5.2.2</entry>
164
-
<entry>
165
-
The "Loaded Configuration File" information was added, when before
166
-
only "Configuration File (php.ini) Path" existed.
167
-
</entry>
168
-
</row>
169
-
</tbody>
170
-
</tgroup>
171
-
</informaltable>
135
+
&return.true.always;
172
136
</para>
173
137
</refsect1>
174
138

...
...
@@ -219,7 +183,6 @@ phpinfo(INFO_MODULES);
219
183
<simplelist>
220
184
<member><function>phpversion</function></member>
221
185
<member><function>phpcredits</function></member>
222
-
<member><function>php_logo_guid</function></member>
223
186
<member><function>ini_get</function></member>
224
187
<member><function>ini_set</function></member>
225
188
<member><function>get_loaded_extensions</function></member>
...
...
@@ -229,7 +192,6 @@ phpinfo(INFO_MODULES);
229
192
</refsect1>
230
193

231
194
</refentry>
232
-

233
195
<!-- Keep this comment at the end of the file
234
196
Local variables:
235
197
mode: sgml
236
198