Skip to content

Commit 7bc131d

Browse files
authored
[PHP 8.4] pcntl update part 1 (#4208)
1 parent d3ee29b commit 7bc131d

File tree

3 files changed

+140
-0
lines changed

3 files changed

+140
-0
lines changed

reference/pcntl/functions/pcntl-sigprocmask.xml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,51 @@
6969
</para>
7070
</refsect1>
7171

72+
<refsect1 role="changelog">
73+
&reftitle.changelog;
74+
<informaltable>
75+
<tgroup cols="2">
76+
<thead>
77+
<row>
78+
<entry>&Version;</entry>
79+
<entry>&Description;</entry>
80+
</row>
81+
</thead>
82+
<tbody>
83+
<row>
84+
<entry>8.4.0</entry>
85+
<entry>
86+
A <classname>ValueError</classname> is thrown if <parameter>signal</parameter>
87+
is empty.
88+
</entry>
89+
</row>
90+
<row>
91+
<entry>8.4.0</entry>
92+
<entry>
93+
A <classname>TypeError</classname> is thrown if <parameter>signal</parameter>
94+
value is not an <type>int</type>.
95+
</entry>
96+
</row>
97+
<row>
98+
<entry>8.4.0</entry>
99+
<entry>
100+
A <classname>ValueError</classname> is thrown if <parameter>signal</parameter>
101+
value is invalid.
102+
</entry>
103+
</row>
104+
<row>
105+
<entry>8.4.0</entry>
106+
<entry>
107+
A <classname>ValueError</classname> is thrown if <parameter>mode</parameter>
108+
value is not <constant>SIG_BLOCK</constant>, <constant>SIG_UNBLOCK</constant> or
109+
<constant>SIG_SETMASK</constant>.
110+
</entry>
111+
</row>
112+
</tbody>
113+
</tgroup>
114+
</informaltable>
115+
</refsect1>
116+
72117
<refsect1 role="examples">
73118
&reftitle.examples;
74119
<para>

reference/pcntl/functions/pcntl-sigtimedwait.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,64 @@
7373
</para>
7474
</refsect1>
7575

76+
<refsect1 role="changelog">
77+
&reftitle.changelog;
78+
<informaltable>
79+
<tgroup cols="2">
80+
<thead>
81+
<row>
82+
<entry>&Version;</entry>
83+
<entry>&Description;</entry>
84+
</row>
85+
</thead>
86+
<tbody>
87+
<row>
88+
<entry>8.4.0</entry>
89+
<entry>
90+
A <classname>ValueError</classname> is thrown if <parameter>signal</parameter>
91+
is empty.
92+
</entry>
93+
</row>
94+
<row>
95+
<entry>8.4.0</entry>
96+
<entry>
97+
A <classname>TypeError</classname> is thrown if <parameter>signal</parameter>
98+
value is not an <type>int</type>.
99+
</entry>
100+
</row>
101+
<row>
102+
<entry>8.4.0</entry>
103+
<entry>
104+
A <classname>ValueError</classname> is thrown if <parameter>signal</parameter>
105+
value is invalid.
106+
</entry>
107+
</row>
108+
<row>
109+
<entry>8.4.0</entry>
110+
<entry>
111+
A <classname>ValueError</classname> is thrown if <parameter>seconds</parameter>
112+
value is less than <literal>0</literal>.
113+
</entry>
114+
</row>
115+
<row>
116+
<entry>8.4.0</entry>
117+
<entry>
118+
A <classname>ValueError</classname> is thrown if <parameter>nanoseconds</parameter>
119+
value is less than <literal>0</literal>.
120+
</entry>
121+
</row>
122+
<row>
123+
<entry>8.4.0</entry>
124+
<entry>
125+
A <classname>ValueError</classname> is thrown if both <parameter>seconds</parameter> and
126+
<parameter>nanoseconds</parameter> values are <literal>0</literal>.
127+
</entry>
128+
</row>
129+
</tbody>
130+
</tgroup>
131+
</informaltable>
132+
</refsect1>
133+
76134
<refsect1 role="seealso">
77135
&reftitle.seealso;
78136
<para>

reference/pcntl/functions/pcntl-sigwaitinfo.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,43 @@
8888
</para>
8989
</refsect1>
9090

91+
<refsect1 role="changelog">
92+
&reftitle.changelog;
93+
<informaltable>
94+
<tgroup cols="2">
95+
<thead>
96+
<row>
97+
<entry>&Version;</entry>
98+
<entry>&Description;</entry>
99+
</row>
100+
</thead>
101+
<tbody>
102+
<row>
103+
<entry>8.4.0</entry>
104+
<entry>
105+
A <classname>ValueError</classname> is thrown if <parameter>signal</parameter>
106+
is empty.
107+
</entry>
108+
</row>
109+
<row>
110+
<entry>8.4.0</entry>
111+
<entry>
112+
A <classname>TypeError</classname> is thrown if <parameter>signal</parameter>
113+
value is not an <type>int</type>.
114+
</entry>
115+
</row>
116+
<row>
117+
<entry>8.4.0</entry>
118+
<entry>
119+
A <classname>ValueError</classname> is thrown if <parameter>signal</parameter>
120+
value is invalid.
121+
</entry>
122+
</row>
123+
</tbody>
124+
</tgroup>
125+
</informaltable>
126+
</refsect1>
127+
91128
<refsect1 role="examples">
92129
&reftitle.examples;
93130
<para>

0 commit comments

Comments
 (0)