original_string: protected static function DOMNodeAttributes(DOMNode $node)
      {
          $attributes = array();
  
          foreach ($node->attributes as $attribute) {
              $attributes[$attribute->name] = $attribute->value;
          }
  
          return $attributes;
      }
code: protected static function DOMNodeAttributes(DOMNode $node)
      {
          $attributes = array();
  
          foreach ($node->attributes as $attribute) {
              $attributes[$attribute->name] = $attribute->value;
          }
  
          return $attributes;
      }
code_tokens: protected static function DOMNodeAttributes ( DOMNode $ node ) { $ attributes = array ( ) ; foreach ( $ node -> attributes as $ attribute ) { $ attributes [ $ attribute -> name ] = $ attribute -> value ; } return $ attributes ; }
docstring: Get the DONNode attributes
  
  @static
  @param   DOMNode $node
  @return  array
docstring_tokens: Get the DONNode attributes