pcntl_async_signals() - pcntl进程控制
pcntl_async_signals()
(PHP 7 >= 7.1.0)
Enable/disable asynchronous signal handling or return the old setting
说明
pcntl_async_signals([bool $on=NULL
]): boolIf the$onparameter is omitted,pcntl_async_signals() returns whether asynchronous signal handling is enabled. Otherwise, asynchronous signal handling is enabled or disabled.
参数
$onWhether asynchronous signal handling should be enabled.
返回值
When used as getter(that is without the optional parameter)it returns whether asynchronous signal handling is enabled. When used as setter(that is with the optional parameter given), it returns whether asynchronous signal handling was enabledbeforethe function call.
参见
- declare
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!