<?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;?>