Ds\Map::toArray

Ds\Map::toArray

(PECL ds >= 1.0.0)

Ds\Map::toArray Converts the map to an array.

Description

public array Ds\Map::toArray ( void )

Converts the map to an array.

Caution

Maps where non-scalar keys are can't be converted to an array.