This helps avoiding problems when the PCNTL extension is loaded, but
(some of) its functions are disabled via PHPs `disable_function`
configuration. This is particularly common for the PCNTL functions in
CGI environments, e.g. they are disabled by default on Debian- /
Ubuntu-based distributions. Previously, even when not attaching any
signal listeners, the loop would print a warning on each loop tick:
> PHP Warning: pcntl_signal_dispatch() has been disabled for security
reasons in {file} on {line}
jsor approved these changes May 7, 2019
clue deleted the pcntl-might-be-disabled branch
May 9, 2019 07:27
clue
mentioned this pull request
Open
Open