ID: 8922 Updated by: joey Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: DOM XML related Operating System: RH 7.0 PHP Version: 4.0 Latest CVS (25/01/2001) Assigned To: joey New Comment: Sterling beat me to it, but I still got an email... Removing myself from "Assigned" Previous Comments: ------------------------------------------------------------------------ [2001-09-09 05:53:41] [EMAIL PROTECTED] Fixed in CVS. ------------------------------------------------------------------------ [2001-01-25 20:20:45] [EMAIL PROTECTED] 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 this 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]