xml_error_string

XML パーサのエラー文字列を得る

説明

stringnull xml_error_string(int $error_code)

エラーコード error_code の説明を有する文字列を 返します。

パラメータ

error_code

xml_get_error_code からのエラーコード。

戻り値

エラーコード error_code の説明を有する文字列を 返します。説明がない場合には null を返します。

参考

  • xml_get_error_code