downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

yp_get_default_domain> <yp_errno
[edit] Last updated: Fri, 17 May 2013

view this page in

yp_first

(PHP 4, PHP 5 <= 5.0.5)

yp_first Gibt das erste Schlüssel-Wert-Paar der angegebenen Map zurück

Beschreibung

array yp_first ( string $domain , string $map )

yp_first() gibt das erste Schlüssel-Wert-Paar der angegebenen Map zurück, andernfalls FALSE.

Beispiel #1 Beispiel für den ersten NIS-Eintrag

<?php
$entry 
yp_first($domain"passwd.byname");

$key key($entry);
$value $entry[$key];

echo 
"First entry in this map has key " $key " and value " $value;
?>

Siehe auch yp_next() und yp_get_default_domain().



add a note add a note User Contributed Notes yp_first - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites