public function getExitCode()
    {
        if (!$this->enhanceSigchildCompatibility && $this->isSigchildEnabled()) {
            throw new RuntimeException('This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.');
        }

        $this->updateStatus(false);

        return $this->exitcode;
    }
public function getExitCode()
    {
        if (!$this->enhanceSigchildCompatibility && $this->isSigchildEnabled()) {
            throw new RuntimeException('This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.');
        }

        $this->updateStatus(false);

        return $this->exitcode;
    }
public function getExitCode ( ) { if ( ! $ this -> enhanceSigchildCompatibility && $ this -> isSigchildEnabled ( ) ) { throw new RuntimeException ( 'This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.' ) ; } $ this -> updateStatus ( false ) ; return $ this -> exitcode ; }
Returns the exit code returned by the process.

@return null|int The exit status code, null if the Process is not terminated

@throws RuntimeException In case --enable-sigchild is activated and the sigchild compatibility mode is disabled
Returns the exit code returned by the process .