From: [EMAIL PROTECTED] Operating system: RH 7.0 PHP version: 4.0 Latest CVS (25/01/2001) PHP Bug Type: DOM XML related Bug description: @xmldoc(...) doesn't quite suppress errors Take the following code: <?php $xml = '<?xml version="1.0"?><foo><bar></foo>'; $doc = @xmldoc($xml); if (!$doc) { echo "invalid xml\n"; } ?> If you run it from the shell, the parser spits a bunch of messages out to STDOUT. It would be nice if these could be repressed and/or captured easily by the script somehow (in $php_err_msg or something). - Colin -- Edit Bug report at: http://bugs.php.net/?id=8922&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]