Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58672 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33844 invoked from network); 6 Mar 2012 16:25:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2012 16:25:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=admacedo@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=admacedo@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: admacedo@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:54443] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/47-32184-E6A365F4 for ; Tue, 06 Mar 2012 11:25:19 -0500 Received: by ghbg2 with SMTP id g2so2613033ghb.29 for ; Tue, 06 Mar 2012 08:25:16 -0800 (PST) Received-SPF: pass (google.com: domain of admacedo@gmail.com designates 10.236.186.1 as permitted sender) client-ip=10.236.186.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of admacedo@gmail.com designates 10.236.186.1 as permitted sender) smtp.mail=admacedo@gmail.com; dkim=pass header.i=admacedo@gmail.com Received: from mr.google.com ([10.236.186.1]) by 10.236.186.1 with SMTP id v1mr35533368yhm.4.1331051116395 (num_hops = 1); Tue, 06 Mar 2012 08:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NpIBu5NWEnHwATps42eQO4/j5XnB6/jhh3ftzOHXfh4=; b=wdiz7VEh8mgeGZtnSx+g9O/XTyaiN/EfKkDo8YfpNPe61K9Y/rWhvAvSojO5u7GWGN sY48sz3N1g8zBPoonphPnqsCfmo9vJUHU8aGKc0p1j/hCE0Kev/r50IAAHJMXFPeWNqp 4Du3J/AM/5fA+bVwpbpVsSl8UIdYexJjOH3bcw98FuifANSwRhaWwwvak4J52jLYqa4S trS83ao8cyqug+LIcuRbESb5nfUtzhSNu8nJMvsKeQdgR5iCOlRJNofCyjwCTkz32ael ZaK1E3eRYqw9eW8XmqgvW1BN339uY7cOGvxhFR6A/MJ/DhHFaIqdzZIYfny3IyU5TT5L yMOA== Received: by 10.236.186.1 with SMTP id v1mr28179666yhm.4.1331051116314; Tue, 06 Mar 2012 08:25:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.180.70 with HTTP; Tue, 6 Mar 2012 08:24:36 -0800 (PST) In-Reply-To: <4F563667.7080006@akbkhome.com> References: <4F563667.7080006@akbkhome.com> Date: Tue, 6 Mar 2012 16:24:36 +0000 Message-ID: To: Alan Knowles Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] consider reverting E_ALL with E_STRICT From: admacedo@gmail.com (Daniel Macedo) PLEASE, don't be the kind of developer that does this all over his code: >> error_reporting(E_ALL & E_STRICT ? E_ALL ^ E_STRICT : E_ALL); Either define it once in the same place, or use the php.ini value and make sure it's proper. Here's my development/production, yours should be the same: ; Development display_errors = On display_startup_errors = On log_errors = Off ; This can now be E_ALL; as it should! error_reporting = E_ALL | E_STRICT ; Production display_errors = Off display_startup_errors = Off log_errors = On ignore_repeated_errors = On error_log = "/var/logs/php_error_log" error_reporting = E_ALL & ~E_DEPRECATED Cheers, ~ Daniel Macedo