Returns true if the child process has been terminated by an uncaught signal.
It always returns false on Windows.
@api
Boolean
RuntimeException In case --enable-sigchild is activated
public function hasBeenSignaled() {
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['signaled'];
}