YP/NIS 函数
PHP 手册

yp_cat

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

yp_catReturn an array containing the entire map

说明

array yp_cat ( string $domain , string $map )

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.


YP/NIS 函数
PHP 手册