Skip to content

[PHP 8.4] pcntl update part 1 を取り込み (#4208) #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 46 additions & 1 deletion reference/pcntl/functions/pcntl-sigprocmask.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b890f28c0c6d2856eadcdc34b3faf83a846b3d79 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 7bc131d65540e2a0f706cf4d99b5a3235c965fdb Maintainer: takagi Status: ready -->
<refentry xml:id="function.pcntl-sigprocmask" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>pcntl_sigprocmask</refname>
Expand Down Expand Up @@ -70,6 +70,51 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が空の場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が <type>int</type> でない場合、
<classname>TypeError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が無効である場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>mode</parameter> が <constant>SIG_BLOCK</constant>、
<constant>SIG_UNBLOCK</constant>、<constant>SIG_SETMASK</constant> のいずれでもない場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
60 changes: 59 additions & 1 deletion reference/pcntl/functions/pcntl-sigtimedwait.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b890f28c0c6d2856eadcdc34b3faf83a846b3d79 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 7bc131d65540e2a0f706cf4d99b5a3235c965fdb Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.pcntl-sigtimedwait" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -77,6 +77,64 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が空の場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が <type>int</type> でない場合、
<classname>TypeError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が無効である場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>seconds</parameter> が <literal>0</literal> 未満である場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>nanoseconds</parameter> が <literal>0</literal> 未満である場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>seconds</parameter> と <parameter>nanoseconds</parameter> の両方が <literal>0</literal> である場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
Expand Down
39 changes: 38 additions & 1 deletion reference/pcntl/functions/pcntl-sigwaitinfo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: c42d3d890578e3be848e3adc763d324884321ae8 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 7bc131d65540e2a0f706cf4d99b5a3235c965fdb Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.pcntl-sigwaitinfo" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -90,6 +90,43 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が空の場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が <type>int</type> でない場合、
<classname>TypeError</classname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>signal</parameter> が無効である場合、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down