original_string: protected function peek($regex, &$out, $from = null)
      {
          if (! isset($from)) {
              $from = $this->count;
          }
  
          $r = '/' . $regex . '/' . $this->patternModifiers;
          $result = preg_match($r, $this->buffer, $out, null, $from);
  
          return $result;
      }
code: protected function peek($regex, &$out, $from = null)
      {
          if (! isset($from)) {
              $from = $this->count;
          }
  
          $r = '/' . $regex . '/' . $this->patternModifiers;
          $result = preg_match($r, $this->buffer, $out, null, $from);
  
          return $result;
      }
code_tokens: protected function peek ( $ regex , & $ out , $ from = null ) { if ( ! isset ( $ from ) ) { $ from = $ this -> count ; } $ r = '/' . $ regex . '/' . $ this -> patternModifiers ; $ result = preg_match ( $ r , $ this -> buffer , $ out , null , $ from ) ; return $ result ; }
docstring: Peek input stream
  
  @param string  $regex
  @param array   $out
  @param integer $from
  
  @return integer
docstring_tokens: Peek input stream