(PHP 4, PHP 5, PHP 7, PHP 8)
xml_get_error_code — 取得 XML 解析器錯誤碼
$parser
取得 XML 解析器的錯誤碼。
parser
用於獲取錯誤代碼的 XML 解析器參考。
返回錯誤代碼區段中列出的錯誤代碼之一。
xml