Returns the number of the signal that caused the child process to terminate its execution.
It is only meaningful if hasBeenSignaled() returns true.
@api
integer
RuntimeException In case --enable-sigchild is activated
public function getTermSignal() {
if ($this
->isSigchildEnabled()) {
throw new RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved');
}
$this
->updateStatus();
return $this->processInformation['termsig'];
}