Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19261 invoked from network); 5 Jul 2011 15:50:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2011 15:50:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) X-PHP-List-Original-Sender: rquadling@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qy0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:54153] helo=mail-qy0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/74-18802-3D2331E4 for ; Tue, 05 Jul 2011 11:50:45 -0400 Received: by qyk7 with SMTP id 7so3745135qyk.8 for ; Tue, 05 Jul 2011 08:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=85OTSkwC1DjBaxr3YldazadlqXecHCDa2Sptjy23LNc=; b=Wg9T8WqhH6ZDZtjFAPF6d7qaR/scZKrE0f6znriW+8LdOoPGzBNcp8HBh6/iwKCFy5 npntg5UivcDipLbpFqUC9Gj0+5tZGe454rVBEuxIwiRcmSD/xqWuVWImK8cDrufAYCts ghXzx/YUnVKUcgYG3Y4VMhqX+xV0txQxNN1QA= Received: by 10.229.129.139 with SMTP id o11mr5667354qcs.17.1309881041091; Tue, 05 Jul 2011 08:50:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.122.136 with HTTP; Tue, 5 Jul 2011 08:50:21 -0700 (PDT) Reply-To: RQuadling@GMail.com In-Reply-To: References: Date: Tue, 5 Jul 2011 16:50:21 +0100 Message-ID: To: Adam Harvey Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] -W option for CLI "strict mode" From: rquadling@gmail.com (Richard Quadling) On 5 July 2011 16:33, Adam Harvey wrote: > Developers, Romans, countrymen, > > I'd like to propose the addition of a -W switch to the CLI SAPI which > would enable the display of errors and maximum error reporting. This > brings us into line with other languages such as Perl, and allows us > to evangelise to users that they should run "php -W script.php" as the > preferred way of developing and running new, E_STRICT-compliant > scripts. > > The RFC is at https://wiki.php.net/rfc/cli-strict, and comes with a > patch, which is accessible at > http://www.adamharvey.name/patches/php-cli-strict.patch.txt. If the > response isn't overwhelmingly negative and we don't get caught up in > discussions for the next few days, I'll look at calling for a vote in > a week or so (given it's not a language-level change). > > Thanks, > > Adam Bikesheding thought ... -V, --verbose That could get interesting ... C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose Non bikeshedding thought ... Being able to enable full error reporting at the command line has to be complimented though by fully disabling error reporting ... -Q, --quiet or -S, --silent Question, ... When does the ini file get read and processed in regards to the command line params? Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea