public static function nodelist_to_array( \DOMNodeList $list ) {
		$out = [];

		foreach ( $list as $node ) {
			$out[ \spl_object_hash( $node ) ] = $node;
		}

		return $out;
	}
public static function nodelist_to_array( \DOMNodeList $list ) {
		$out = [];

		foreach ( $list as $node ) {
			$out[ \spl_object_hash( $node ) ] = $node;
		}

		return $out;
	}
public static function nodelist_to_array ( \ DOMNodeList $ list ) { $ out = [ ] ; foreach ( $ list as $ node ) { $ out [ \ spl_object_hash ( $ node ) ] = $ node ; } return $ out ; }
Converts \DOMNodeList to array;

@param \DOMNodeList $list Required.

@return array An associative array in the form ( $spl_object_hash => $node ).
Converts \ DOMNodeList to array ;