Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62808 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14537 invoked from network); 4 Sep 2012 18:15:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Sep 2012 18:15:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.185 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.185 c2beaomr07.btconnect.com Received: from [213.123.26.185] ([213.123.26.185:16201] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/50-12568-04546405 for ; Tue, 04 Sep 2012 14:15:29 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.5_) ([81.138.11.136]) by c2beaomr07.btconnect.com with ESMTP id IWV10304; Tue, 04 Sep 2012 19:15:25 +0100 (BST) Message-ID: <5046453A.8010600@lsces.co.uk> Date: Tue, 04 Sep 2012 19:15:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120604 Firefox/13.0 SeaMonkey/2.10 MIME-Version: 1.0 To: PHP internals References: <5042A7D6.7050001@lerdorf.com> <50452713.3020307@sugarcrm.com> <5045CAA3.6000409@lsces.co.uk> <5045E044.9080809@lsces.co.uk> <5045F939.6010806@lsces.co.uk> <5045FD98.8080306@lsces.co.uk> <50463317.7000109@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0303.5046453B.0040, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2012.9.4.173923:17:7.944, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, BODY_ENDS_IN_URL, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr07.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B020B.5046453D.0100:SCFSTAT14830815,ss=1,re=-4.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core? From: lester@lsces.co.uk (Lester Caine) Adam Richardson wrote: > I was second-guessing my recall I had a similar issue way back, after > Rasmus pointed out that the custom error handler is called even if > E_STRICT is off. However, I just looked back at my framework code, I > see I'm checking to make sure the error level matches, just as Ferenc > pointed out (what a forgetful old man I am.) > > So, I think this could still be causing the issue and it's something > worth exploring on Lester's part. If I have any custom error handling I don't know about it. I don't think ADOdb or SMARTY adds anything, and I don't load anything. Switching back to old code to at least prove to myself I WAS getting crashes, I got a white screen within half an hour of configuring an old setup. Knowing that I did get crashes when dealing with 'static' functions, I started there, and now that other things have been pointed out, the problem in that case is ALL parts of the codebase need to be updated at once. Otherwise fixing things in one library breaks other code. It may well be that having got a clean strict PHP5.4 setup I've then been getting problems when porting additional sites over. I KNOW that I've had a setup where simply switching E_STRICT on and off gives white screens, and I did have that situation a couple of weeks back. Simply adding and removing a custom error_reporting() got me working or not, but that was trying to run Joomla on a PHP5.4 setup with a strict clean PEAR and other libraries. So I may well have been suffering from 'cross contamination'. But this is the whole point ... getting a clean setup that will run older sites is a right pain :( I need to get back to a PHP5.2 setup which works and then cross check what is failing on the PHP5.4 setup. But none of this is productive work. Nothing I've moved over in the last 3 months have worked 'out of the box', all have had to have something done to get them running again. One thing I think is clear is that I need to avoid using a central PEAR until such time as everything is stable. Certainly that is this initial crash problem, but I know there were more problem areas. I am regretting giving in to the pressure to upgrade the shared codebase to be strict compliant. I think that I'd much further forward simply ignoring it altogether and done my own thing. Certainly some third party stuff left is not going to be work with E_STRICT any time soon :( -- 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 Rainbow Digital Media - http://rainbowdigitalmedia.co.uk