Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59004 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33931 invoked from network); 18 Mar 2012 13:09:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2012 13:09:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:44640] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/49-18036-89ED56F4 for ; Sun, 18 Mar 2012 08:09:45 -0500 Received: by yenl5 with SMTP id l5so5735928yen.29 for ; Sun, 18 Mar 2012 06:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qr89DWjiA6i2brMzroJQObR8yHI89lZLxUYOMwTYgck=; b=AjjsNx72ozt3aG6MLdSio8PfOnWvu647xWasI4yfSml1o3CqaocOUvv2jAT+9amCQk d5Tc77uHHK24Pl+n3IKSuHKv0oh17iz8mXUM58hQOGo4xcNo27mfl+giNkwmzBQ740rl iHmHBkgrWBjX7Kj1HDiJxQciEQmufRxjRII6yUP5rMYqrFOCqXZ71EOVjBsna0LSL68j t2Jsk2iKgpjtVNWfGK3vMgo0xgAH9LNuJgokZ/1+A3G78GZ20W6FOGUdquJouYFxRQcy uknvkAs/n3/0xuUTQC9eWRPQc2QLuiE+bxB2da9aUKG9/jXQHnVzk4tHGLKlhchQvSyv stwQ== MIME-Version: 1.0 Received: by 10.236.197.103 with SMTP id s67mr9554664yhn.5.1332076181563; Sun, 18 Mar 2012 06:09:41 -0700 (PDT) Received: by 10.146.169.9 with HTTP; Sun, 18 Mar 2012 06:09:41 -0700 (PDT) In-Reply-To: <4F65A77F.3010001@lsces.co.uk> References: <4F65A77F.3010001@lsces.co.uk> Date: Sun, 18 Mar 2012 14:09:41 +0100 Message-ID: To: Lester Caine Cc: PHP Internals List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] PHP5.4 'nannying' From: pierre.php@gmail.com (Pierre Joye) hi Lester, Discussing periodically about the introduction of new notices or warnings in releases is not very fun and interesting. Good habits and related topics can be discussed on the php general mailing list or any other support channels. Thanks for your understanding, On Sun, Mar 18, 2012 at 10:14 AM, Lester Caine wrote: > OK having jumped through several hoops trying to get a stable installation > of Apache2.4.1 with PHP5.4 and Firebird 2.5.1 I now have a machine running > and while I've not been able to do a speed comparison as yet performance > does seem to be improved on what a simple comparison of machine speed > improvement would suggest. > > Being a 6 core processor, on does wonder if better threaded performance of > PHP with Apache would be an advantage? But the main problem now is handling > an array of 'nanny' messages telling me that the code is badly written. > Since the code base has been developed form an environment where it was > still PHP4 compatible, many of the 'incremental improvements' of PHP5.2 and > PHP5.3 have yet to be addressed, so I suspect that while the code runs clean > with 'display_errors' ON in 5.3.10 I suspect every one of several hundred > files now needs to be modified to include things like > 'private/protected/static' correctly in every base and descendent class? Of > cause things are not helped when PEAR packages add their own array of > warnings, but the main problem is where the heck to start on this. > > I think what I am probably looking for is a clean guide as to how code > SHOULD be written nowadays in order to avoid the nanny messages since it's > certainly not my normal practice after 10 years of coding in PHP5 ... > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk// > Firebird - http://www.firebirdsql.org/index.php > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org