Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13974 invoked by uid 1010); 12 Jul 2005 20:04:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13942 invoked from network); 12 Jul 2005 20:04:49 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 12 Jul 2005 20:04:49 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:45410] helo=mail.zend.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 11/64-23681-F5224D24 for ; Tue, 12 Jul 2005 16:04:48 -0400 Received: (qmail 13616 invoked from network); 12 Jul 2005 20:04:41 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 12 Jul 2005 20:04:41 -0000 Message-ID: <5.1.0.14.2.20050712130350.0385cda0@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 12 Jul 2005 13:04:36 -0700 To: Pierre-Alain Joye ,internals@lists.php.net In-Reply-To: <20050712212026.5bd2dbbb.pierre@dotgeek.org> References: <20050712105234.5dhkvvd6ghcsw8sg@marina.horde.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] php 4.4 BC break From: andi@zend.com (Andi Gutmans) Just for the record, most compilers have such "bugs". It happens when the compiler is too lenient and allows incorrect code to be compiled. I've seen similar things happen in C/C++ and other languages. At 09:20 PM 7/12/2005 +0200, Pierre-Alain Joye wrote: >On Tue, 12 Jul 2005 20:53:16 +0200 (CEST) >derick@php.net (Derick Rethans) wrote: > > > On Tue, 12 Jul 2005, Chuck Hagenbuch wrote: > > > > > Relax, I'm not debating the decision. Just: > > > > > > PLEASE can someone put a big fat warning on the php 4.4 > > > announcement on www.php.net that it breaks existing code? > > > > > > I already have people upgrading to it and wondering why they > > > get tons of warnings now. We're fixing them as quick as we can, > > > but honestly, given that PHP never gave us a notice about them > > > before, there are going to be a lot, and a lot in old releases > > > too. It'd be helpful if on the php side people were at least > > > given a chance not to shoot themselves in the foot. > > > > They were already shooting them in the foot by using references > > wrong... and you did have about a month to test your code (Horde > > I presume) with the new PHP 4.4 release candidates. And it's just > > a notice... which you should always have off on a production > > machine. So I don't think we should put a BIG warning on php.net > > because people didn't quite understand how references worked (me > > included). > >The bug #33643 is not what I can call "shooting in my own foot". > >There were cases were I fully agree to break BC, but this one and >its pairs, not. I agree that it's nice to solve this problem, my >point here is we fix a Zend bug by removing some facilities in the >langage. I only hope that we will allow that again in future >versions. > >--Pierre > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php