reference/misc/functions/ignore-user-abort.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>ignore_user_abort</methodname>
13
-
<methodparam choice="opt"><type>bool</type><parameter>value</parameter></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>bool</type><type>null</type></type><parameter>enable</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Sets whether a client disconnect should cause a script to be aborted.
...
...
@@ -19,7 +19,7 @@
19
19
When running PHP as a command line script, and the script's tty goes
20
20
away without the script being terminated then the script will die the
21
21
next time it tries to write anything, unless
22
-
<parameter>value</parameter> is set to &true;
22
+
<parameter>enable</parameter> is set to &true;
23
23
</para>
24
24
</refsect1>
25
25

...
...
@@ -28,12 +28,12 @@
28
28
<para>
29
29
<variablelist>
30
30
<varlistentry>
31
-
<term><parameter>value</parameter></term>
31
+
<term><parameter>enable</parameter></term>
32
32
<listitem>
33
33
<para>
34
-
If set, this function will set the <link
34
+
If set and not &null;, this function will set the <link
35
35
linkend="ini.ignore-user-abort">ignore_user_abort</link> ini setting
36
-
to the given <parameter>value</parameter>. If not, this function will
36
+
to the given <parameter>enable</parameter>. Otherwise, this function will
37
37
only return the previous setting without changing it.
38
38
</para>
39
39
</listitem>
...
...
@@ -49,6 +49,28 @@
49
49
</para>
50
50
</refsect1>
51
51

52
+
<refsect1 role="changelog">
53
+
&reftitle.changelog;
54
+
<informaltable>
55
+
<tgroup cols="2">
56
+
<thead>
57
+
<row>
58
+
<entry>&Version;</entry>
59
+
<entry>&Description;</entry>
60
+
</row>
61
+
</thead>
62
+
<tbody>
63
+
<row>
64
+
<entry>8.0.0</entry>
65
+
<entry>
66
+
<parameter>enable</parameter> is nullable now.
67
+
</entry>
68
+
</row>
69
+
</tbody>
70
+
</tgroup>
71
+
</informaltable>
72
+
</refsect1>
73
+

52
74
<refsect1 role="examples">
53
75
&reftitle.examples;
54
76
<para>
...
...
@@ -117,7 +139,6 @@ while(1)
117
139
</refsect1>
118
140

119
141
</refentry>
120
-

121
142
<!-- Keep this comment at the end of the file
122
143
Local variables:
123
144
mode: sgml
124
145