Please answer this simple SPAM challenge: six plus three? (Example: nine)
If the signal handler is a Closure, the function itself is returned:pcntl_signal(SIGHUP, function ($signo, $siginfo) { echo SIGHUP;});var_dump(pcntl_signal_get_handler(SIGHUP)); // Outputs: string(6) "SIGHUP"
<< Back to user notes page