[PATCH] don't override error_reporting() in module dom

From: Date: Fri, 03 Nov 2006 11:51:01 +0000
Subject: [PATCH] don't override error_reporting() in module dom
Groups: php.internals 
Request: Send a blank email to internals+get-26297@lists.php.net to get a copy of this message
Hi, this patch removes the prevaricative code in ext/dom/document.c that forcibly reports errors in xml data overriding the error_reporting value set by the user. If the user intentionally sets $dom->recover to true and disables E_WARNING he obviously wants php to shut up in all cases, even when the xml fed to dom is broken; php should obediently comply, not take initiatives on its own accord. Please, consider this patch for inclusion in HEAD. Nico

« previous php.internals (#26297) next »