From: Ilia Alshanetsky Date: Mon, 11 May 2009 12:22:19 +0000 (+0000) Subject: MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on X-Git-Tag: php-5.4.0alpha1~191^2~3689 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce11608af84d8dc3cb8a6c3b5a691759d85a97ee;p=php MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid paths) --- diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index 9f231bbfb0..53ccbeec43 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -1787,6 +1787,7 @@ static PHP_FUNCTION(xmlwriter_open_uri) if (source_type == IS_UNICODE) { efree(source); } + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to resolve file path"); RETURN_FALSE; }