On 4/24/2016 1:48 AM, Benoit Schildknecht wrote:
> If I was a popular framework creator, this wouldn't stop me. I would
> release two packages : one for 7.0, another one for 7.1. And the 7.0 one
> would be the 7.1 one that has been processed through a script to remove
> any <<>> syntax, or to transform it (if pre/post attributes instructions
> were to be implemented in the core).
> 
> Regards,
> Ben.
> 
> Le Sun, 24 Apr 2016 01:09:08 +0200, "Thomas Bley" <ma...@thomasbley.de>
> a écrit:
> 
>> The <<>> syntax comes with the problem that previous versions cannot
>> ignore it on parsing.
>> So poeple write new frameworks for 7.0 which cannot be parsed in 5.x,
>> then they write new frameworks for 7.1 which cannot be parsed with 7.0
>> and 5.x and so on.
>> For companies staying on Linux distributions with long term support on
>> 7.0, this is rather a nightmare for both users and framework maintainers.
>> When choosing <<>> or any other non-backward compatible syntax for
>> 7.1, there should be a patch for 7.0 to ignore the new syntax without
>> parse errors.
>>
>> Regards
>> Thomas
>>
> 

That is the nature of a feature release, you find many of those in any
PHP feature release. Think of for instance `yield`, directly results in
a parse error in older PHP versions.

-- 
Richard "Fleshgrinder" Fussenegger

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to