Home > PHP > Function > YP/NIS > yp_cat()

yp_cat()

yp_cat - Return an array containing the entire map

Syntax

array yp_cat (string $domain, string $map)

Arguments

  • domain - The NIS domain name.
  • map - The NIS map.

Description

Returns all map entries.

Version

PHP 4.0.6, 5 <= 5.0.5

Return value

Returns an array of all map entries, the maps key values as array indices and the maps entries as array data.