Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50621 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13216 invoked from network); 27 Nov 2010 13:25:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2010 13:25:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:49186] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/84-14402-1C601FC4 for ; Sat, 27 Nov 2010 08:25:22 -0500 Received: from [192.168.1.29] (ppp-93-104-47-37.dynamic.mnet-online.de [93.104.47.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id ED9E84AE10; Sat, 27 Nov 2010 14:25:17 +0100 (CET) To: Karoly Negyesi Cc: internals@lists.php.net In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Sat, 27 Nov 2010 14:25:12 +0100 Message-ID: <1290864312.7033.813.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Major release for BC?? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Sat, 2010-11-27 at 03:50 -0800, Karoly Negyesi wrote: > tl;dr the PHP developers have a false belief in not breaking backwards > compatibility in minor releases. Besides from what Pierre said: There is a difference between the language and the function library. The change in the language from PHP 3 to PHP 4 was big - even trivial things like "include" and "require" hanged their behavior. From PHP 4 to PHP 5 the whole object model changed. PHP 6 once was supposed to change the whole type system by introducing a new default string type. These are the kinds of changes demanding the version change as they affect each and every user and demanding big changes to applications. Yes even with minor releases we do allow language changes which have some BC impact but that's quite manageable and should allow a quick migration path (5.3 introduced "goto" and "namespace" as keyword which broke applications using them, the next version will introduce a keyword "traits") With bug fix releases the language is stable. Talking about the function library there is more change for multiple reasons. We /try/ not to break anything in bug fix releases. Sometimes trying is not enough. For one there are cases where there are big bugs which demand being fixed while changing the behavior (we have little choice for instance in areas related to security ...) and sometimes there are oversights. We are human and PHP is complex and our tests can't cover all use cases, there we can try to do our bust but still depend on everybody testing their applications (did YOU test 5.2.15RC1 and 5.3.4RC1, yet?) and use cases. johannes