yp_cat

(PHP 4 >= 4.0.6, PHP 5 < 5.1.0)

yp_catReturn an array containing the entire map

说锟斤拷

yp_cat ( string $domain , string $map ) : array

Returns all map entries.

锟斤拷锟斤拷

domain

The NIS domain name.

map

The NIS map.

锟斤拷锟斤拷值

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