Re: Proposal for serious BC compatibility aka language versioning

From: Date: Sun, 03 Feb 2013 19:50:48 +0000
Subject: Re: Proposal for serious BC compatibility aka language versioning
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-65581@lists.php.net to get a copy of this message
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



Thread (48 messages)

« previous php.internals (#65581) next »