Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26120 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47280 invoked by uid 1010); 20 Oct 2006 11:02:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47264 invoked from network); 20 Oct 2006 11:02:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Oct 2006 11:02:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 64.233.166.178 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 64.233.166.178 py-out-1112.google.com Linux 2.4/2.6 Received: from [64.233.166.178] ([64.233.166.178:12432] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/A2-27040-ACCA8354 for ; Fri, 20 Oct 2006 07:02:35 -0400 Received: by py-out-1112.google.com with SMTP id c39so162802pyd for ; Fri, 20 Oct 2006 04:02:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d3URNehJrlB9F3l+T3D4nBrHmdttO3v5ZctSU/CILyOGwd2hBdiVIESoAz0uHeEp7Olt13rVUdTbQFYaym9S8Fr9ojDI9mCPf/Pz/IygR+CvCjLuty/dmBUf1r+fk6P6CDSe4eXMKqckCH728tDL/OIpLT4wht0t1HIONLBxiAc= Received: by 10.35.95.1 with SMTP id x1mr87870pyl; Fri, 20 Oct 2006 00:43:10 -0700 (PDT) Received: by 10.35.97.14 with HTTP; Fri, 20 Oct 2006 00:43:09 -0700 (PDT) Message-ID: <10845a340610200043g7f6f6152tf91a53e37682d113@mail.gmail.com> Date: Fri, 20 Oct 2006 08:43:09 +0100 Reply-To: RQuadling@GoogleMail.com To: "Jasper Bryant-Greene" Cc: "Glenn Richmond" , "Christian Stocker" , "Lukas Kahwe Smith" , internals@lists.php.net In-Reply-To: <45386AB4.60504@albumltd.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18.FF.27040.69DE7354@pb1.pair.com> <453857D8.3020704@bitflux.ch> <45385952.7040400@ilisys.com.au> <45386AB4.60504@albumltd.co.nz> Subject: Re: [PHP-DEV] a last plead From: rquadling@googlemail.com ("Richard Quadling") On 20/10/06, Jasper Bryant-Greene wrote: > The argument is that we should not unnecessarily break these people's > code just because it makes no sense. Personally, I don't buy into this > argument. Perhaps if their code breaks and there is a good explanation > in the error message, they might start writing OO code that isn't > nonsensical. I fully agree with the sentiment that Jasper and others are making here. But I am torn between the purist and the pragmatic views. Ideally, the PHP Object Model should be more or less set in stone. Little or no choice for the user simply because choice is redundant and devisive. The issue with this is WHICH object model to use - there are many and not exactly the same. As the upgrade will break some users' code because it is not compatible or substandard in some way is a serious issue. As always, the answer is education/information. Make it well known and TRULY obvious what the issue is and WHY it has been changed well BEFORE the release. Not tucked away in a release notice or a change log which unless you where there at the time you have no idea what is going on. These sort of seemingly arbitary changes should be fully documented in the manual and maybe even within the PHP runtime error reporting system. Say a new error reporting option which can provide a link to examples of code and what should be changed and why. The why is the most important part. If a PHP upgrade has just broken a user's code, that user will want instant help in fixing it. What better than having a proper description of the error and what to do to remove it. Having an error for an upgrade and no explanation as to why it is now an error is a pain as you don't know the consequences of changing the code. Richard. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"