diff options
author | Sterling Hughes <sterling@php.net> | 2001-09-09 09:58:49 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-09-09 09:58:49 +0000 |
commit | b5d77099fea9b0a7e6b6e8f96a08c63585010c83 (patch) | |
tree | cfbfa4f3a2752e23100172a849977b5fdea167c8 /ext/domxml/php_domxml.c | |
parent | 6ee9f04f8763c82270d2e3815989da229b5341a4 (diff) | |
download | php-git-b5d77099fea9b0a7e6b6e8f96a08c63585010c83.tar.gz |
have this go through php's error warning system
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |