略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: pcntl_wexitstatus

2024-04-24

pcntl_wexitstatus

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

pcntl_wexitstatus返回一个中断的子进程的返回代码

说明

pcntl_wexitstatus(int $status): int

返回一个中断的子进程的返回代码。这个函数仅在函数pcntl_wifexited()返回 true.时有效。

参数

status

参数 status 是提供给成功调用 pcntl_waitpid() 时的状态参数。

返回值

返回整形的子进程返回代码。

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.pcntl-wexitstatus.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3