Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53749 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59576 invoked from network); 5 Jul 2011 16:53:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2011 16:53:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:49279] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/AC-18802-081431E4 for ; Tue, 05 Jul 2011 12:53:21 -0400 Received: by iwn36 with SMTP id 36so6432247iwn.29 for ; Tue, 05 Jul 2011 09:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=GPZj8nNkqbYD8hjFwkMz2y7rUA8TRWnYNAE2K4uICB8=; b=LAr+Qh20w/9SdAoMfyTBytOL0JqttDWnIHXhTY2OwS1v+x0eNW7VJdC7/auTYV/4jH KM48FUYg3ZEMxRCaQkouILKJzFgnYP2YVMO1YBc16+2QieDajr/BwODq5Ujxjc7NSfPz d7EezfYJuxA+AzbjrSSET96ONPjyO88DBVfBk= Received: by 10.42.173.132 with SMTP id r4mr8671477icz.290.1309884798004; Tue, 05 Jul 2011 09:53:18 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.231.149.75 with HTTP; Tue, 5 Jul 2011 09:22:20 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Jul 2011 00:22:20 +0800 X-Google-Sender-Auth: FTwRIdOfJdEcJ2FBr_tiEX4off8 Message-ID: To: RQuadling@gmail.com Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] -W option for CLI "strict mode" From: aharvey@php.net (Adam Harvey) On 5 July 2011 23:50, Richard Quadling wrote: > Bikesheding thought ... > > -V, --verbose > > That could get interesting ... > > C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose I like matching other languages as best we can (more on that in my reply to Felipe momentarily). > 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 Pierre made the same suggestion. It would be easy enough to implement, obviously; I'll put a v1.1 patch up with that included. > Question, ... > > When does the ini file get read and processed in regards to the > command line params? Before the command line parameters are parsed. Adam