HH\Map::fromArray

Deprecated: Use new Map($arr) instead.

Returns a Map containing the key/value pairs from the specified array

public static function fromArray(
  array<Tk, Tv> $arr,
): Map<Tk, Tv>;

This function is deprecated. Use newMap($arr) instead.

Parameters

Return Values