reference/info/functions/php-sapi-name.xml
8dd14a886c7e954cef181c374b6f05cc7149e643
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>php_sapi_name</methodname>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>php_sapi_name</methodname>
13
13
<void/>
14
14
</methodsynopsis>
15
15
<simpara>
...
...
@@ -21,22 +21,25 @@
21
21
</simpara>
22
22
</refsect1>
23
23

24
+
<refsect1 role="parameters">
25
+
&reftitle.parameters;
26
+
&no.function.parameters;
27
+
</refsect1>
28
+

24
29
<refsect1 role="returnvalues">
25
30
&reftitle.returnvalues;
26
31
<para>
27
-
Returns the interface type, as a lowercase string.
32
+
Returns the interface type, as a lowercase string, &return.falseforfailure;.
28
33
</para>
29
34
<para>
30
35
Although not exhaustive, the possible return values include
31
-
<literal>aolserver</literal>, <literal>apache</literal>,
32
-
<literal>apache2filter</literal>, <literal>apache2handler</literal>,
33
-
<literal>caudium</literal>, <literal>cgi</literal> (until PHP 5.3),
36
+
<literal>apache</literal>,
37
+
<literal>apache2handler</literal>,
38
+
<literal>cgi</literal> (until PHP 5.3),
34
39
<literal>cgi-fcgi</literal>, <literal>cli</literal>, <literal>cli-server</literal>,
35
-
<literal>continuity</literal>, <literal>embed</literal>, <literal>fpm-fcgi</literal>,
36
-
<literal>isapi</literal>, <literal>litespeed</literal>,
37
-
<literal>milter</literal>, <literal>nsapi</literal>, <literal>phpdbg</literal>,
38
-
<literal>phttpd</literal>, <literal>pi3web</literal>, <literal>roxen</literal>,
39
-
<literal>thttpd</literal>, <literal>tux</literal>, and <literal>webjames</literal>.
40
+
<literal>embed</literal>, <literal>fpm-fcgi</literal>,
41
+
<literal>litespeed</literal>,
42
+
<literal>phpdbg</literal>.
40
43
</para>
41
44
</refsect1>
42
45

...
...
@@ -79,7 +82,7 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
79
82
<para>
80
83
The defined <acronym>SAPI</acronym> may not be obvious, because for
81
84
example instead of <literal>apache</literal> it may be defined as
82
-
<literal>apache2handler</literal> or <literal>apache2filter</literal>.
85
+
<literal>apache2handler</literal>.
83
86
</para>
84
87
</tip>
85
88
</refsect1>
...
...
@@ -94,7 +97,6 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
94
97
</refsect1>
95
98

96
99
</refentry>
97
-

98
100
<!-- Keep this comment at the end of the file
99
101
Local variables:
100
102
mode: sgml
101
103