From: Christian Stocker Date: Sun, 25 Jul 2004 10:37:27 +0000 (+0000) Subject: use php_error_docref for libxml2 errors X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a497e9bf75511e4a50f4a0541eae02bd215533f5;p=php use php_error_docref for libxml2 errors --- diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 4e41adb10e..d1d4be6fe1 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -355,7 +355,7 @@ static void php_libxml_internal_error_handler(int error_type, void *ctx, const c php_libxml_ctx_error_level(E_NOTICE, ctx, LIBXML(error_buffer).c TSRMLS_CC); break; default: - php_error(E_WARNING, "%s", LIBXML(error_buffer).c); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", LIBXML(error_buffer).c); } smart_str_free(&LIBXML(error_buffer)); }