original_string: public static function isPtySupported()
      {
          static $result;
  
          if (null !== $result) {
              return $result;
          }
  
          if ('\\' === \DIRECTORY_SEPARATOR) {
              return $result = false;
          }
  
          return $result = (bool) @proc_open('echo 1 >/dev/null', [['pty'], ['pty'], ['pty']], $pipes);
      }
code: public static function isPtySupported()
      {
          static $result;
  
          if (null !== $result) {
              return $result;
          }
  
          if ('\\' === \DIRECTORY_SEPARATOR) {
              return $result = false;
          }
  
          return $result = (bool) @proc_open('echo 1 >/dev/null', [['pty'], ['pty'], ['pty']], $pipes);
      }
code_tokens: public static function isPtySupported ( ) { static $ result ; if ( null !== $ result ) { return $ result ; } if ( '\\' === \ DIRECTORY_SEPARATOR ) { return $ result = false ; } return $ result = ( bool ) @ proc_open ( 'echo 1 >/dev/null' , [ [ 'pty' ] , [ 'pty' ] , [ 'pty' ] ] , $ pipes ) ; }
docstring: Returns whether PTY is supported on the current operating system.
  
  @return bool
docstring_tokens: Returns whether PTY is supported on the current operating system .