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

yp_next()

yp_next - Returns the next key-value pair in the named map

Syntax

array yp_next (string $domain, string $map, string $key)

Arguments

  • domain
  • map
  • key

Description

Returns the next key-value pair in the named map after the specified key.

Version

PHP 4, 5 <= 5.0.5

Return value

Returns the next key-value pair as an array, or FALSE on errors.