Php/docs/function.xml-error-string

提供:Dev Guides
< Php
移動先:案内検索

xml_error_string

(PHP 4, PHP 5, PHP 7)

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


説明

xml_error_string ( int $error_code ) : string|null

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


パラメータ

error_code
xml_get_error_code() からのエラーコード。


返り値

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


参考