Stanislav Malyshev wrote on 02.01.2015 01:57: > Hi! > >> ZF2 completely broke compatibility with ZF1 users, so I think this is >> a bad example. > > We're talking about different things here. PHP is an universal platform > and PHP 7 would be offered as upgrade to all PHP users - running ZF1, > ZF2, Symphony, Drupal, anything. If there would be a sizeable chance > that their existing code would not run on PHP 7, people would not > upgrade. Our upgrade record is not stellar as it is, even with > extraordinary effort we put in keeping BC 5.4->5.6. If we break major > libraries in 7, I am afraid we'd have adoption problem. > > ZF2 wasn't really an upgrade from ZF1 - nobody expected you to just jump > from ZF1 to ZF2 on the same code. So it's not the point here, the point > is that ZF2 is an example of major framework that uses the feature which > this RFC proposes to break. There are more. > -- > Stas Malyshev > smalys...@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >
I don't see ZF2 as a big problem: /tmp/zf/ZendFramework-2.3.3# grep -Erin "\\\(int|integer|bool|boolean|float|string)[^a-z0-9]|class (int|integer|bool|boolean|float|string)[^a-z0-9]" . | wc -l 27 Making a few changes here should not be a problem. Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php