On 6 July 2011 05:08, Florian Anderiasch <flor...@anderiasch.de> wrote: > On 05.07.2011 18:24, Adam Harvey wrote: >>> However I guess it's more useful to have something like Perl does with -W. >> >> It does really combine -w and -W from Perl, now I think about it. > > What would be the options of mimicking -W as closely as possible? > > There was this extension (iirc named scream and by Johannes) that > unsilenced @calls. Would this fit into as well?
The idea of integrating scream was raised on IRC as well. But... > I suppose some kind of monkeypatching > error_reporting/ini_set/whatIforgot to ignore all settings in the > script(s) would be anything from bad style to downright impossible, but > maybe someone has a brilliant idea to enhance this. It's probably possible, but in general, I'm not sure we should be tinkering with explicitly set settings and suppression within scripts. Setting good defaults for development is one thing, but the script writer should probably have the final say. Adam -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php