Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65583 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4994 invoked from network); 3 Feb 2013 20:48:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2013 20:48:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.171 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.212.171 mail-wi0-f171.google.com Received: from [209.85.212.171] ([209.85.212.171:38391] helo=mail-wi0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/22-22879-81DCE015 for ; Sun, 03 Feb 2013 15:48:25 -0500 Received: by mail-wi0-f171.google.com with SMTP id hn17so974734wib.16 for ; Sun, 03 Feb 2013 12:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=owh/2UcdAKFZCMepQQuwfJNQbAXdkBlAZVxxVZKtGRQ=; b=G8wVEA0sGoikc22dtC4xnJIoqjn/cwBtBzXHEbqGe4Tt9IfSxbYlDXUeueHpTSefV0 S2BnIjqLqmvnodbU0djek3acevgSdcDnPuugUpmrX2baU58XuJHWYcsIYywcPKCp2zps l/nDgmlmFV9Um/19HF3HFRqDWeX3h5rq7REYkW+xeWTCasS8AFWqdrheBaUnmV76VAd8 bzZGs528ULMbij8GmH9X9K+UAJ5v4tHbFvrrWpMQntcU4bTuB87MZX5buI+3CPrgvm3e 0e/5EI8tKvkPuCERuOlsP6yntYsa5hB+dKo9qYqUk7Iv2eYJR70wpl/IG/v7NU5TJ+VP DR6Q== MIME-Version: 1.0 X-Received: by 10.180.73.80 with SMTP id j16mr6956033wiv.5.1359924501261; Sun, 03 Feb 2013 12:48:21 -0800 (PST) Received: by 10.227.42.135 with HTTP; Sun, 3 Feb 2013 12:48:21 -0800 (PST) In-Reply-To: <510EBF98.4060900@lerdorf.com> References: <510EBF98.4060900@lerdorf.com> Date: Sun, 3 Feb 2013 15:48:21 -0500 Message-ID: To: Rasmus Lerdorf Cc: Karoly Negyesi , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d043bdf38d1acb004d4d8185d Subject: Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning From: theanomaly.is@gmail.com (Sherif Ramadan) --f46d043bdf38d1acb004d4d8185d Content-Type: text/plain; charset=ISO-8859-1 On Sun, Feb 3, 2013 at 2:50 PM, Rasmus Lerdorf wrote: > On 02/03/2013 11:44 AM, Karoly Negyesi wrote: > > Well, either I misunderstood the policy or it's broken. Here are some > > (note: please do not argue whether these are more correct than before, > > they very well might be but they broke backwards compatibility): > > > > For example, in 5.4 array_diff_assoc began to throw a notice when > > casting to string. > > > > Again in 5.4, using a string offset against a string throws a warning. > > It wasn't doing that before. > > We do not consider a change in warnings/notices a BC break. I realize > for certain test frameworks and custom error handlers it could break > things if they are expecting a specific warning or lack of warning, but > the code itself behaves exactly as it did before and as such there is no > BC break. > I for one think this point needs to be communicated a lot more clearly, because when I attempted to introduce a patch that would throw E_DEPRECATED warning for mcrypt last year I was told it could not be merged in 5.4 since it would cause a BC break. Later someone else disagreed with that. So clearly not everyone seems to be inline. > > -Rasmus > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f46d043bdf38d1acb004d4d8185d--