pcntl_async_signals

(PHP 7 >= 7.1.0)

pcntl_async_signalsEnable/disable asynchronous signal handling or return the old setting

说明

pcntl_async_signals ([ bool $on = NULL ] ) : bool

If the on parameter is omitted, pcntl_async_signals() returns whether asynchronous signal handling is enabled. Otherwise, asynchronous signal handling is enabled or disabled.

参数

on

Whether 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 enabled before the function call.

参见

相关文章
php cubrid mysql 兼容性函数 return the current cubrid connection charsetphp cubrid mysql 兼容性函数 return the numerical value of the error message from previous cubrid operationphp cubrid mysql 兼容性函数 return the name of the table of the specified fieldphp cubrid mysql 兼容性函数 return the value of a specific field in a specific rowphp frontbase 函数 enable or disable autocommitphp frontbase 函数 enable or disable frontbase warningsphp firebird/interbase 函数 return an error codephp firebird/interbase 函数 return information about a parameter in a prepared queryphp variable handling 函数 检测变量是否是一个标量php maxdb 函数 disable rpl parsephp ncurses 函数 enable or disable a keycodephp pcntl 函数 enable/disable asynchronous signal handling or return the old settingphp pcntl 函数 在当前进程当前位置产生分支(子进程)。译注:fork是创建了一个子进程,父进程和子进程 都从fork的位置开始向下继续执行,不同的是父进程执行过程中,得到的fork返回值为子进程 号,而子进程得到的是0。php pcntl 函数 get the current handler for specified signalphp pcntl 函数 检查子进程当前是否已经停止php 字符串 函数 return a formatted stringphp sqlite 函数 return an array of column types from a particular tablephp stream 函数 return a bucket object from the brigade for operating onphp variable handling 函数 输出或返回一个变量的字符串表示php swish 函数 execute a query and return results object
关注编程学问公众号