[Pkg-mediawiki-devel] mediawiki_1.19.1-2~exp2_i386.changes ACCEPTED into experimental

Thorsten Glaser t.glaser at tarent.de
Thu Aug 9 11:23:20 UTC 2012


On Thu, 9 Aug 2012, Platonides wrote:

> I think you should just perform an early exit if error_reporting()
> doesn't show the error, like the example of
> http://www.php.net/manual/en/function.set-error-handler.php ie.
> if (!(error_reporting() & $errno)) { return; }

Hm, sounds possible, but I’d rather only exclude the
wfSuppressWarnings-bracketed blocks, just in case some
other system component mucks around with error_reporting().

(IMHO, it should be set to -1 always, anyway, to force
people to produce clean code…)

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke



More information about the Pkg-mediawiki-devel mailing list