Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65581 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99117 invoked from network); 3 Feb 2013 19:50:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2013 19:50:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.210.51 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.210.51 mail-da0-f51.google.com Received: from [209.85.210.51] ([209.85.210.51:33211] helo=mail-da0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/71-22879-D9FBE015 for ; Sun, 03 Feb 2013 14:50:54 -0500 Received: by mail-da0-f51.google.com with SMTP id i30so2365800dad.10 for ; Sun, 03 Feb 2013 11:50:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=t1KHwmA2B1Ss0CjMj4uDJVkiSbJ31ur1UUWIj4zeJjY=; b=Q7ZytnKcGOd+MOkjL569PM9ukAvIW8mYUAQlZkaIJor1virAGwB3Gfq8AOHq4sx2Pf ayMG+FjfuZiFC3sGgmPh490kkjFAPHRXr0Pemgvf5Qn+/SiANPQWy/H8BQECC61eqhxp oDP4bulK3DCBvYIrpHUdfEGm1425Di/PTmmqQBo+6UmgezW8ZbHo4BxGiG2CB5tR4pPB wqSB71lCGr1fQIEaY7BVWIVKhTDQ76x2MIQC2Pr8pY7Yc1w0vkS4AyDXsI+9pAoajNul BULYgz3mCxEF4FD9JtARjWp9aNrryH0MZQZYvCnAtf9aFctiJi+6hEre7AHiiF/ndmme vl8g== X-Received: by 10.66.81.198 with SMTP id c6mr46059111pay.50.1359921050887; Sun, 03 Feb 2013 11:50:50 -0800 (PST) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id qm9sm15485860pbc.10.2013.02.03.11.50.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Feb 2013 11:50:50 -0800 (PST) Message-ID: <510EBF98.4060900@lerdorf.com> Date: Sun, 03 Feb 2013 11:50:48 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Karoly Negyesi CC: "internals@lists.php.net" References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQldDIKQpXg62sirN0GR6jMzlfW/Z9T9MnSsZlSCkF2rncJs5zR4I2Ljfg4sLBSqZLGnObjK Subject: Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning From: rasmus@lerdorf.com (Rasmus Lerdorf) 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. -Rasmus