original_string: protected function parse($output)
      {
          $lines = explode(PHP_EOL, $output);
          $stats = array();
          foreach ($lines as $line) {
              $data = explode(' ', $line);
              array_walk($data, 'trim');
              $stats[] = array_values(array_filter($data, function ($value) {
                  return strlen($value) > 0;
              }));
          }
  
          return $stats;
      }
code: protected function parse($output)
      {
          $lines = explode(PHP_EOL, $output);
          $stats = array();
          foreach ($lines as $line) {
              $data = explode(' ', $line);
              array_walk($data, 'trim');
              $stats[] = array_values(array_filter($data, function ($value) {
                  return strlen($value) > 0;
              }));
          }
  
          return $stats;
      }
code_tokens: protected function parse ( $ output ) { $ lines = explode ( PHP_EOL , $ output ) ; $ stats = array ( ) ; foreach ( $ lines as $ line ) { $ data = explode ( ' ' , $ line ) ; array_walk ( $ data , 'trim' ) ; $ stats [ ] = array_values ( array_filter ( $ data , function ( $ value ) { return strlen ( $ value ) > 0 ; } ) ) ; } return $ stats ; }
docstring: Parse top utility command output
  
  Returns an array of lines with the same top columns
  
  @param $output
  @return array
docstring_tokens: Parse top utility command output