Re: [RFC] -W option for CLI "strict mode"

From: Date: Tue, 05 Jul 2011 21:08:12 +0000
Subject: Re: [RFC] -W option for CLI "strict mode"
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-53751@lists.php.net to get a copy of this message
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? 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. Greetings, Florian

« previous php.internals (#53751) next »