yp_err_string

yp_err_string -- 前の操作に関するエラー文字列を返す

説明

string yp_err_string(void );

yp_err_string は、前の操作に関するエラーメッセージ を返します。何が悪いかを正確に調べる際に便利です。

例 1. NIS エラーの例


<?php
    echo "Error: " . yp_err_string();
?>
      

yp_errno も参照下さい。