PHP libxml_get_errors() May 18, 2012 info@phpcodez.com It returns array of errors Example <?php libxml_get_errors() ?>