yp_first

(PHP 3>= 3.0.7, PHP 4 >= 4.0.0)

yp_first --  Returns the first key-value pair from the named map

Description

array yp_first ( string domain, string map)

yp_first() returns the first key-value pair from the named map in the named domain, otherwise FALSE.

See also yp-get-default-domain()