Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17331 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34196 invoked by uid 1010); 20 Jul 2005 01:38:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34181 invoked from network); 20 Jul 2005 01:38:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2005 01:38:28 -0000 X-Host-Fingerprint: 64.233.162.192 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.192:21396] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6227M)) with SMTP id 31/D9-61486-41BADD24 for ; Tue, 19 Jul 2005 21:38:28 -0400 Received: by zproxy.gmail.com with SMTP id n1so1304397nzf for ; Tue, 19 Jul 2005 18:38:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lQpmPH6UWKBC/xAmMnMHN2tPPWKnMVRTF4RJpf6ym1768yWwesvK8S2QraYB1JPNHikoo4CBLjpIn7cot2Gi3ZTSYhp+wNNJWCewIdeYS0YmDrlaTwJ2wG/INwda+pvZ1AXXlynIt5KppU5deHJpGDH8rLpnZ0DWTpSouvvaVcQ= Received: by 10.36.138.10 with SMTP id l10mr3999839nzd; Tue, 19 Jul 2005 18:37:48 -0700 (PDT) Received: by 10.36.104.12 with HTTP; Tue, 19 Jul 2005 18:37:47 -0700 (PDT) Message-ID: <90e24d4e05071918373cf090a0@mail.gmail.com> Date: Tue, 19 Jul 2005 18:37:47 -0700 Reply-To: Jeremy Johnstone To: internals@lists.php.net In-Reply-To: <20050717200659.GA3956@csh.rit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050712105234.5dhkvvd6ghcsw8sg@marina.horde.org> <20050712212026.5bd2dbbb.pierre@dotgeek.org> <42D42430.5060001@prohost.org> <20050712161703.rf2hn68dptcswssw@marina.horde.org> <20050717200659.GA3956@csh.rit.edu> Subject: Re: [PHP-DEV] php 4.4 BC break From: phpdev@gmail.com (Jeremy Johnstone) Or you as a developer add the following to your code: error_reporting(error_reporting() & ~E_NOTICE);=20 at the top of a common file and release a new release and quit f***ing b****ing about something which isn't likely to change anytime soon. If your clients aren't knowledgeable enough to setup their servers properly to not show errors in a production environment, then do it for them in your script. Yeah it's not the best solution, but it works fine and gives you time to correctly update your scripts the proper way. -Jeremy On 7/17/05, Jon Parise wrote: > On Tue, Jul 12, 2005 at 10:33:14PM +0100, Nicholas Telford wrote: >=20 > > Firstly, a major version number increment implies a major change (4.2.0 > > and 4.3.0 had much more major changes than this iirc). Secondly, as far > > as I'm aware, it doesn't issue a warning, it issues notices which, and > > this has been stressed on many occasions, should not be displayed on > > production servers. >=20 > Sure, but the issue here has very little to do with production > servers. >=20 > What's happening is that site administrators are upgrading their test > environments and then checking their existing software to make sure it > hasn't broken. They see all of these new warnings and then report > them back to the application developers. It would be much easier for > each application developer to redirect that site administrators to a > note on php.net explaining the change than for the application > developers to explain the change over and over again. Or, even > better, the administrator would find it there themself. >=20 > -- > Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/) >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >=20 --=20 --------------------------- Jeremy Johnstone http://www.jeremyjohnstone.com jsjohnst@php.net