Skip to content
Open
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
5 changes: 5 additions & 0 deletions reference/exec/functions/proc-close.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
Returns the termination status of the process that was run. In case of
an error then <literal>-1</literal> is returned.
</para>
<para>
Prior to PHP 8.3.0, if <function>proc_get_status</function> is called before
<function>proc_close</function> and retrieves the exit code, then
<function>proc_close</function> will return <literal>-1</literal>.
</para>
&note.sigchild;
</refsect1>

Expand Down