Unmasking the error handler (was Re: [PHP-CVS] cvs: php-src /ext/dom document.c)
| From: | Sterling Hughes | Date: | Thu, 26 Aug 2004 21:19:20 +0000 |
| Subject: | Unmasking the error handler (was Re: [PHP-CVS] cvs: php-src /ext/dom document.c) | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs php.internals |
| Request: | Send a blank email to php-cvs+get-28475@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Wed, 25 Aug 2004, Sterling Hughes wrote:Then don't add the feature. There are things that extensions are allowed to do (throw a warning), and there are things that extensions should not be allowed to do, unmasking the error handler is one such thing. IMNSHO, that is a technical limitation for any extension distributed with PHP. -SterlingThat's wrong. You should *never* require an E_WARNING to be sent without being able to silence it, especially not on something so unimportant.It's just as wrong as trying to parse non-wellformed XML.