From: Sterling Hughes Date: Sun, 9 Sep 2001 09:58:49 +0000 (+0000) Subject: have this go through php's error warning system X-Git-Tag: PRE_SUBST_Z_MACROS~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5d77099fea9b0a7e6b6e8f96a08c63585010c83;p=php have this go through php's error warning system --- diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 0e7a516081..e1b10c3906 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -787,7 +787,7 @@ static zval *php_domobject_new(xmlNodePtr obj, int *found TSRMLS_DC) } default: - fprintf(stderr, "Unsupported Node type: %d\n", obj->type); + php_error(E_WARNING, "Unsupported Node type: %d\n", obj->type); return NULL; }