original_string: public function fork()
      {
          if (!function_exists('pcntl_fork')) {
              return false;
          }
          $pid = pcntl_fork();
  
          if ($pid == -1) {
              //failure
              return false;
          } elseif ($pid) {
              return true;
          } else {
              $this->start();
              exit(0);
          }
      }
code: public function fork()
      {
          if (!function_exists('pcntl_fork')) {
              return false;
          }
          $pid = pcntl_fork();
  
          if ($pid == -1) {
              //failure
              return false;
          } elseif ($pid) {
              return true;
          } else {
              $this->start();
              exit(0);
          }
      }
code_tokens: public function fork ( ) { if ( ! function_exists ( 'pcntl_fork' ) ) { return false ; } $ pid = pcntl_fork ( ) ; if ( $ pid == - 1 ) { //failure return false ; } elseif ( $ pid ) { return true ; } else { $ this -> start ( ) ; exit ( 0 ) ; } }
docstring: Fork a watch into a new process
  
  @return bool
  @throws \Exception
docstring_tokens: Fork a watch into a new process