Jenner\SimpleFork\Process::errno PHP Method

errno() public method

get pcntl errno
public errno ( ) : integer
return integer
    public function errno()
    {
        return $this->errno;
    }

Usage Example

コード例 #1
0
 public function testWait()
 {
     $this->process_thread->start();
     $this->process_thread->wait();
     $this->assertEquals(0, $this->process_thread->exitCode());
     $this->assertEquals(0, $this->process_thread->errno());
     $this->process_runable->start();
     $this->process_runable->wait();
     $this->assertEquals(0, $this->process_runable->exitCode());
     $this->assertEquals(0, $this->process_runable->errno());
     $this->process_callback->start();
     $this->process_callback->wait();
     $this->assertEquals(0, $this->process_callback->exitCode());
     $this->assertEquals(0, $this->process_callback->errno());
 }
All Usage Examples Of Jenner\SimpleFork\Process::errno