libxml htmlParseDocument ignoring htmlParseOption flags
问题 Looking for someone who uses libxml through an environment other than packaged with PHP to confirm the HTML_PARSE_NOWARNING flag is ignored. Warnings are still generated. Source code from PHP, implementing libxml in C: //one of these options is 64 or HTML_PARSE_NOWARNING htmlCtxtUseOptions(ctxt, (int)options); ctxt->vctxt.error = php_libxml_ctx_error; ctxt->vctxt.warning = php_libxml_ctx_warning; if (ctxt->sax != NULL) { ctxt->sax->error = php_libxml_ctx_error; ctxt->sax->warning = php_libxml