KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
YP/NIS
yp_all
yp_cat
yp_errno
yp_err_string
yp_first
yp_get_default_domain
yp_master
yp_match
yp_next
yp_order
Home
>
PHP
>
Function
>
YP/NIS
>
yp_match()
yp_match()
yp_match - Returns the matched line
Syntax
string
yp_match
(
string
$domain,
string
$map,
string
$key)
Arguments
domain - The NIS domain name.
map - The NIS map.
key - This key must be exact.
Description
Returns the value associated with the passed key out of the specified map.
Version
PHP 4, 5 <= 5.0.5
Return value
Returns the value, or FALSE on errors.