Re: [RFC] -W option for CLI "strict mode"
| From: | Adam Harvey | Date: | Tue, 05 Jul 2011 16:24:22 +0000 |
| Subject: | Re: [RFC] -W option for CLI "strict mode" | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53748@lists.php.net to get a copy of this message | ||
On 6 July 2011 00:01, Felipe Pena <felipensp@gmail.com> wrote:
> Just to inform, the Perl's -W enable all warnings regardless of
> whether the script disable warnings.
>
> The Perl's -w one looks like your -W, but I know we already have used
> -w in PHP to output source with stripped comments and whitespaces.
That was basically why I chose -W (since it was as close as I could get).
> 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.
Adam