xml_error_string

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

xml_error_string -- 取得 XML 解析器的錯誤字串

說明

string xml_error_string ( int code )

根據給定的 code 獲得 XML 解析器錯誤字串。

參數

code

xml_get_error_code() 返回的錯誤代碼。

返回值

返回與 code 描述的錯誤代碼參數對應的文字描述字串,若沒有與之對應的描述,則返回 FALSE